Commit graph

1221 commits

Author SHA1 Message Date
Andrew Stanton-Nurse
7c688eea7f fix framework assembly resolution for net35 (#2557) 2016-04-20 11:54:42 -07:00
Pavel Krymets
3472aee5c9 Remove native compilation, add multiple project files and globbing 2016-04-20 11:54:16 -07:00
Eric Erhardt
bc619cb9be Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
The places where I removed a dependency is because a lower package (InternalAbstrations) was already bringing in that dependency.

Fix #2567
2016-04-20 13:50:34 -05:00
Zlatko Knezevic
f2515235b7 Merge branch 'rel/1.0.0' into blackdwarf-patch-2 2016-04-20 10:30:30 +02:00
Senthil
f6eb49a2c7 Add breadcrumb writing
- Provide DOTNET_EXTENSIONS hook
  - Name changes for CORE_SERVICING
2016-04-19 23:13:41 -07:00
Pavel Krymets
3e5b68dc43 Add project to project graph 2016-04-19 21:16:18 -07:00
Bryan
56194a8e12 Add a test case for a desktop app using Command.CreateDotnet, expecting to fail 2016-04-19 13:38:37 -07:00
Piotr Puszkiewicz
bc8b0c065f Merge pull request #2548 from dotnet/piotrpMSFT/issue2499/importDnxcore50
import dnxcore50
2016-04-19 13:09:33 -07:00
Bryan Thornbury
66d6a38185 Merge pull request #2450 from dotnet/brthor/test-switch
Convert TestAssets to `Microsoft.NETCore.App`
2016-04-19 12:45:28 -07:00
Pranav K
612088cfa8 Merge pull request #2579 from dotnet/prkrishn/runtimes
Use runtime directory instead of compile directory when running tests
2016-04-19 12:14:20 -07:00
Piotr Puszkiewicz
496ec6b474 dotnet-new template imports dnxcore50. Tests Green. 2016-04-19 11:22:45 -07:00
Pranav K
8c6c192806 Use runtime directory instead of compile directory when running tests 2016-04-19 11:15:50 -07:00
Bryan Thornbury
83d78129db t Convert Test Assets to Microsoft.NETCore.App
fix dotnet-compile-fsc failures

fix test failures
2016-04-19 11:08:27 -07:00
Andrew Stanton-Nurse
b682ab1d4f make all packages serviceable by default (#2575)
fixes https://github.com/dotnet/cli/issues/2569
2016-04-19 08:34:42 -07:00
Bryan Thornbury
08ee6dedd9 Merge pull request #2559 from dotnet/brthor/2512
Fixes #2512
2016-04-18 16:33:46 -07:00
Jonathan Miller
18ae4d4791 Merge pull request #2538 from sokket/nrefix
Fixing #2480 to produce an InvalidProjectException for invalid projects
2016-04-18 13:57:57 -07:00
Bryan Thornbury
3fa70112da Fixes #2512
add tests for the projectdependenciescommandfactor

Add a test variation to test overriding the configuration provided in the constructor

update test asset name
2016-04-18 13:47:50 -07:00
Eric Erhardt
c9bee8a64f Merge pull request #2550 from eerhardt/UpdateDependencies20160418052316
Updating CoreFx to rc2-24018
2016-04-18 15:12:57 -05:00
Jonathan Miller
a71e4a5128 Fixing #2480 to produce an InvalidProjectException when attempting to publish a
project folder that does not contain a project.json file
2016-04-18 11:25:54 -07:00
eerhardt
eb4952df27 Updating CoreFx to rc2-24018 2016-04-18 05:23:16 +00:00
Eric Erhardt
6afc2ca813 Invoke compile-csc in-proc
Since processes are expensive, suppress spawning a new process when dotnet-compile is invoking dotnet-compile-csc.
2016-04-16 00:28:57 -05:00
Piotr Puszkiewicz
859a2220f1 Merge pull request #2472 from MichaelSimons/debianbuild
Add support for Debian CLI builds
2016-04-15 16:02:23 -07:00
Andrew Stanton-Nurse
852446e859 Improve resource file support (#2511)
* Add satellite assemblies to deps file with locale data
* Publish satellite assemblies to output during publish
* Copy satellite assemblies from project-to-project dependencies on
build and publish
2016-04-15 14:45:51 -07:00
Joel Verhagen
fbe5a23318 Take the latest NuGet build 2016-04-15 12:37:45 -07:00
Zlatko Knezevic
c83a2fb6f9 Add and modify commands' README files (#2338)
* Add and modify commands' README files

Update those READMEs that are outdated. Add READMEs for dotnet pack
and dotnet restore as well.

* Removing private info, adding feedback alias
2016-04-15 10:36:31 -07:00
eerhardt
070650ebac Updating CoreFx to rc2-24015 2016-04-15 05:25:53 +00:00
Michael Simons
7bb27eafee Merge branch 'rel/1.0.0' of https://github.com/MichaelSimons/cli into debianbuild 2016-04-14 18:59:54 -05:00
Eric Erhardt
880dcf2fc8 Merge pull request #2345 from dotnet/anurse/update-nuget
update nuget to 1160
2016-04-13 21:47:26 -05:00
Senthil
9b15cec4b1 Merge pull request #2481 from schellap/fxr-pol
Merge working dir into specified app dll
2016-04-13 18:49:29 -07:00
Piotr Puszkiewicz
1b8de4c1c5 Merge pull request #2473 from eerhardt/PublishContentFiles
Add back in copying of RuntimeAssets during publish.
2016-04-13 18:33:20 -07:00
Andrew Stanton-Nurse
71d5738fff re-restore test projects at their destination
since NuGet now stores the relative path to dependent projects in the lock file, projects need to be restored when they are moved
2016-04-13 17:56:51 -07:00
Andrew Stanton-Nurse
362397a945 ensure dotnet-build can see projects under packages 2016-04-13 17:56:50 -07:00
Andrew Stanton-Nurse
2956446864 update nuget to 1160 2016-04-13 17:56:50 -07:00
Pranav K
8ceb3ba35a Merge pull request #2470 from dotnet/prkrishn/remove-imports
Remove unnecessary dnxcore50 imports from projects
2016-04-13 17:42:32 -07:00
Senthil
246976d7c0 Realpath the app dll 2016-04-13 15:32:44 -07:00
MichaelSimons
c0e3b85a27 Merge branch 'rel/1.0.0' of https://github.com/MichaelSimons/cli into debianbuild 2016-04-13 16:47:56 -05:00
Eric Erhardt
aeaf8f0380 Add back in copying of RuntimeAssets during publish.
Any NuGet packages that had contentFiles weren't getting the content files added to the published output directory.  This breaks things like debugging in VS Code.

Fix #2459
2016-04-13 16:25:30 -05:00
Krzysztof Wicher
9d71cce383 Merge pull request #2449 from krwq/fix_2404
improve error message for unresolved tools
2016-04-13 12:02:00 -07:00
Pranav K
f1f02e644e Remove unnecessary dnxcore50 imports from projects 2016-04-13 11:59:46 -07:00
MichaelSimons
5c0cf55623 Initial changes to support building on Debian 2016-04-13 13:49:32 -05:00
Senthil
f82da07fc4 Merge pull request #2443 from schellap/fxr-pol
Servicing for hostpolicy
2016-04-13 01:16:51 -07:00
Pavel Krymets
bde7d72b8f Merge pull request #2401 from dotnet/pakrym/lib-runtime-config
Do not generate and pack runtime config for libraries
2016-04-12 21:01:03 -07:00
Senthil
0fec9842df Servicing for hostpolicy 2016-04-12 20:40:49 -07:00
Pavel Krymets
f4b1a400f6 Do not generate and pack runtime config for libraries 2016-04-12 19:18:58 -07:00
Pavel Krymets
482f36d26b Merge pull request #2371 from dotnet/pakrym/low-fat
Make desktop publishing "half-portable" by default
2016-04-12 19:13:34 -07:00
Krzysztof Wicher
0b746ee559 improve error message for unresolved tools 2016-04-12 16:44:34 -07:00
Troy Dai
065e8352fc Merge pull request #2441 from dotnet/troy/2420
Send DependencyDiagnostics after Dependencies message
2016-04-12 16:30:27 -07:00
Andrew Stanton-Nurse
a48596ff23 make 'platform' flag dependent upon CLI bitness
this will make net451 deployment work for x86 apps
2016-04-12 16:11:00 -07:00
Pavel Krymets
586acf4210 Add description to asset trimming code 2016-04-12 16:09:53 -07:00
Andrew Stanton-Nurse
14770ae5ba Add tests for "half-portable" scenario 2016-04-12 16:09:53 -07:00
Pavel Krymets
2d3a1fd177 Make desktop publishing "half-portable" by default 2016-04-12 16:09:53 -07:00
Pavel Krymets
6184943910 Merge pull request #2437 from dotnet/pakrym/publish-base-path
Fix publish when build was ran using build-base-path
2016-04-12 15:42:58 -07:00
Bryan Thornbury
b0588fc4be Merge pull request #2220 from dotnet/brthor/cross-publish
Enable Cross Platform Publishing and add tests
2016-04-12 15:34:28 -07:00
Troy Dai
20c24a0b36 Send DependencyDiagnostics after Dependencies message 2016-04-12 14:32:45 -07:00
Pavel Krymets
cf0673333d Fix publish when build was ran using build-base-path 2016-04-12 13:30:18 -07:00
Bryan Thornbury
709f7b7d14 Enable Cross Publishing and add tests
WIP

WIP

WIP

Test out not publishing runtimeAssets

WIP

WiP x-publish

update cross-publish-test

Update Cross Publish tests

remove --config from restore

fix build

update cross publish tests

fix test compilation error

test failure fix

fix test failure

update tests

tracing

fix desktop publishing

do publish with no build, call build manually

fix

Make host publish optional, fix faux libraries?

update

Cross Publish test working

try changing test to netcore.app

fallback to host from current platform

revert change to project.json to target Microsoft.NETCore.App

fallback to compilation build output

update kestrel standalone app project.json

Make project tools command resolver test more self-contained.

make Kestrel Standalone restore against N-1
2016-04-12 13:00:04 -07:00
Senthil
62239926a8 Fix servicing policies 2016-04-12 12:09:18 -07:00
schellap
351245bce3 CoreHost.exe hostpolicy should be picked sxs 2016-04-12 09:49:49 -07:00
Eric Erhardt
ed9309b90b Merge pull request #2399 from eerhardt/NewRoslyn
Update Roslyn to 1.3.0-beta1-20160410-01.
2016-04-12 08:57:54 -05:00
Senthil
38be724c3b Make interface untyped 2016-04-11 19:58:14 -07:00
Senthil
49db7b246b Merge pull request #2409 from schellap/rcfg
Add runtimeconfig to corehost as well
2016-04-11 15:21:04 -07:00
Piotr Puszkiewicz
a7ae7b0091 Merge pull request #2328 from danquirk/MoveTelemetryToDotNet
Move telemetry dependency out of Utils and into dotnet
2016-04-11 15:17:19 -07:00
Senthil
35380c3e77 Add runtimeconfig to corehost as well 2016-04-11 12:37:11 -07:00
Eric Erhardt
c41a0a0ceb Update Roslyn to 1.3.0-beta1-20160410-01. 2016-04-11 09:35:09 -05:00
Bryan Thornbury
d3d64a4033 fix the race condition when generating deps.json, and add some coverage of this scenario
update reporter to verbose

fix

fix usings for test

update the test
2016-04-08 18:16:49 -07:00
Zlatko Knezevic
cbf5e241e3 Merge branch 'rel/1.0.0' into blackdwarf-patch-2 2016-04-08 17:53:48 -07:00
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