Andrew Stanton-Nurse
803fef6a8b
fix equality issue in DependencyContextLoader ( #2379 )
...
When checking if the provided assembly is the Entry Point Assembly, we
previously just checked if the AssemblyNames were equal, but it turns
out AssemblyName doesn't implement Equals, so it was using Reference
Equality, which fails. This change uses Assembly.Equals, which has an
Equals implementation that works.
Also adds some tests to ensure it's working.
This unblocks scenarios where the EntityFramework `dotnet-ef` command
was trying to read DependencyContext.Default but receiving a null
reference.
2016-04-08 15:33:32 -07:00
Troy Dai
3d157d0ec8
Merge pull request #2363 from dotnet/troy/2344
...
Stop adding default desktop assembly reference repeatedly.
2016-04-08 15:25:39 -07:00
Pawel Kadluczka
44be0cb3c0
Merge pull request #2358 from dotnet/pawelka/outname_pack
...
Enabling creating packages with different names than target libraries
2016-04-08 14:24:29 -07:00
Troy Dai
031862dc05
Avoid add default desktop references repeatedly
2016-04-08 14:15:17 -07:00
Senthil
95bcf436fa
Merge pull request #2360 from schellap/rollfwd
...
Roll forward for FX and additional paths
2016-04-08 13:52:36 -07:00
Eric Erhardt
e45e4bd991
Merge pull request #2376 from eerhardt/NewRoslyn
...
Update Roslyn to 1.3.0-beta1-20160406-08
2016-04-08 15:34:47 -05:00
Eric Erhardt
661b9c7627
Update Roslyn to 1.3.0-beta1-20160406-08
2016-04-08 14:15:57 -05:00
Eric Erhardt
9f61ad51aa
Check if runtimeConfigPath exists before reading the file in IsPortableApp.
...
If it doesn't exist, then it isn't a portable app.
2016-04-08 12:52:57 -05:00
Bryan Thornbury
0eb527a7c1
change ordering of the args when invoking dotnet exec for xunit. Fix a bug in the host logic
2016-04-08 09:32:55 -05:00
Bryan Thornbury
1f5116addf
add --runtimeconfig to known opts
2016-04-08 09:32:54 -05:00
Bryan Thornbury
34d2445916
Add --runtimeconfig to the hostfxr, and use this option for the xunit scenario.
2016-04-08 09:32:53 -05:00
Eric Erhardt
6fa859a354
Fix ProjectDependenciesCommandResolver for portable test apps.
...
Update to dotnet-test-xunit to latest.
2016-04-08 09:32:52 -05:00
Eric Erhardt
99371436f3
Consume NETCore.App
2016-04-08 09:27:23 -05:00
Piotr Puszkiewicz
85608e42cc
Merge branch 'rel/1.0.0' into pawelka/outname_pack
2016-04-08 04:27:58 -07:00
Matt Ellis
d0ac16129d
Update package dependencies to rc2-24008
2016-04-08 04:05:26 -07:00
Pavel Krymets
ddff3a256e
Merge pull request #2342 from dotnet/pakrym/run-core-app
...
Add netcoreapp as default tfm to run
2016-04-07 20:11:08 -07:00
Senthil
392e8fe47d
Roll forward for FX and additional paths
2016-04-07 18:23:48 -07:00
moozzyk
6a571e5b2a
Enabling creating packages with different names than target libraries
...
Addresses #2322
2016-04-07 16:06:59 -07:00
Sridhar Periyasamy
5768f4c973
Merge pull request #2297 from Sridhar-MS/fix-2126
...
Execute project dependency command from output directory for Desktop.
2016-04-07 13:46:30 -07:00
Pavel Krymets
ed05e164fb
Merge pull request #2337 from dotnet/pakrym/hasruntimeoutput
...
Bring `has runtime output` check back
2016-04-07 13:37:09 -07:00
Pavel Krymets
0bc7380bdb
Add netcoreapp as default tfm to run
2016-04-07 11:51:41 -07:00
Pranav K
9efebf8ef9
Merge pull request #2296 from dotnet/prkrishn/update-more-packages
...
Update to the latest AspNet packages
2016-04-07 11:04:45 -07:00
Sridhar Periyasamy
4de28dc58b
Fix windows x86 test failure.
...
Use the correct rid for windows x86 in the test.
2016-04-07 10:54:31 -07:00
Pavel Krymets
13aee118e9
Bring has runtime output back
2016-04-07 10:22:48 -07:00
Pavel Krymets
a1d4641b8e
Merge pull request #2329 from natemcmaster/namc/dep-context
...
Fix bug in dependency context adding assets to wrong groups
2016-04-07 09:57:33 -07:00
Peter Marcu
aa88de1e6c
Merge pull request #2198 from dotnet/Petermarcu-update-netcoreapp
...
Update project.json template to be netcoreapp1.0
2016-04-07 09:07:37 -07:00
Bryan Thornbury
3e903438b3
Merge pull request #2319 from dotnet/brthor/remove-nuget-config
...
Remove NuGet.config from the default dotnet new drop.
2016-04-06 22:35:12 -07:00
Nate McMaster
bfdedfd75c
Fix #2327 - fix bug in dependency context adding assets to wrong groups
2016-04-06 20:35:56 -07:00
Senthil
76610c4cd4
Merge pull request #2316 from schellap/rollfwd
...
Perform prerelease roll forward for FX and servicing
2016-04-06 20:21:15 -07:00
Senthil
29183b045e
Merge pull request #2301 from schellap/dev-json
...
Improve logging when hostpolicy is not found
2016-04-06 19:26:33 -07:00
Pranav K
e51dd1594c
Update to the latest AspNet packages
2016-04-06 18:11:58 -07:00
Senthil
7100866b1c
Do prerelease roll forward for all probe paths
...
-- default: false
2016-04-06 17:35:46 -07:00
Dan Quirk
3045ce37fc
Move telemetry dependency out of Utils and into dotnet
2016-04-06 17:02:27 -07:00
Eric Erhardt
890e9840d3
Merge pull request #2320 from eerhardt/NewRoslyn
...
Update Roslyn to 1.3.0-beta1-20160405-05
2016-04-06 18:13:22 -05:00
Bryan Thornbury
6ec25e9f30
Merge pull request #2214 from dotnet/brthor/fix-fsc-template
...
Add imports to the fsharp dotnet new template
2016-04-06 15:38:37 -07:00
Eric Erhardt
ccd180c684
Update Roslyn to 1.3.0-beta1-20160405-05
2016-04-06 16:42:11 -05:00
Senthil
b7561e8836
Improve logging when hostpolicy is not found
...
- Detect interface breaks between hostpolicy and hostfxr
2016-04-06 14:35:26 -07:00
Bryan Thornbury
939366165f
Remove NuGet.config from the default dotnet new drop. Patch the tests to cover this gap until corefx is on nuget.org
2016-04-06 14:34:39 -07:00
Senthil
584fdea49e
Merge pull request #2271 from schellap/master
...
Add ApiSets to process DLL search dirs
2016-04-06 13:36:12 -07:00
Pavel Krymets
f49d95c47d
Merge pull request #2306 from dotnet/pakrym/platform-in-target
...
Alow type platform to be in target dependencies
2016-04-06 13:26:12 -07:00
Senthil
bcef2372a2
Add ApiSets to PATH
...
-- So CoreCLR load of PInvoke can actually see these
dependencies.
Add DllDirectory so CoreCLR itself can be loaded.
2016-04-06 11:38:52 -07:00
Pavel Krymets
567d1fa19d
Alow type platform to be in target dependencies
2016-04-06 10:46:52 -07:00
Wes Haggard
3ab4a30eb8
Add support for pkgprojs in cli repp
...
- Move src\corehost\packaging to pkg\ directory.
- Renamed PackageCoreHost to PackagePkgProjects and removed blocker
- Updated copy of packages in PackagePkgProjects target to override (because there is no proper clean)
- Update dir.props to match the package version for the runtime.json
- Moved all CoreHost packages under Microsoft.NETCore.DotNetHost directory
- Add the license files to the packages
Add support for building Microsoft.NETCore.App meta-package
- VersionNumber will be of form 1.0.0-rc2-<NETSTandard.Library build#>-<CLIbuild#>
EX: 1.0.0-rc2-23931-002203
2016-04-06 10:34:23 -07:00
Jan Kotas
722cd3b681
Merge pull request #2240 from jkotas/remove-r2r-workaround
...
Remove ReadyToRun workaround
2016-04-05 21:30:35 -10:00
Sridhar Periyasamy
1db2c08fb5
Execute project dependency command from output directory for Desktop.
...
Created a new command resolver called OutputPathCommandResolver which
reolves a command from the project build output directory.
Made changes ProjectDependenciesCommandFactory to use
OutputPathCommandResolver if the target framework is Desktop.
Fixes - #2126
Still need to add tests.
2016-04-05 20:13:06 -07:00
Eric Erhardt
965547bd8a
Merge pull request #2145 from dotnet/lakshanf/issue2066/telemetry
...
Lakshanf/issue2066/telemetry
2016-04-05 19:37:58 -05:00
Eric Erhardt
5e617bbb43
Merge pull request #2283 from eerhardt/NewNuGet
...
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Eric Erhardt
ed82fd2e66
Update NuGet to 3.5.0-beta-1130
2016-04-05 13:42:16 -05:00
Livar Cunha
40cd8650ce
Removing linq from projectmodel net45 dependencies. It got there accidently.
2016-04-05 11:14:36 -07:00
Troy Dai
cb14076b38
Merge pull request #2249 from dotnet/troy/2200
...
Use default version for unresolved MSBuild reference
2016-04-05 09:05:18 -07:00