Commit graph

2520 commits

Author SHA1 Message Date
Eric Erhardt
7c504b2456 Merge pull request #2654 from eerhardt/RunArgs
dotnet run doesn't accept '--' arg separator anymore
2016-04-26 23:01:03 -05:00
Eric Erhardt
5d2da26e74 Adding dotnet run tests for passing arguments to the app. 2016-04-26 19:58:41 -05:00
Eric Erhardt
dd327b52a5 dotnet run doesn't accept '--' arg separator anymore
When moving from System.CommandLine to the DNX arg parser, we regressed in parsing arguments that should be passed to the underlying process.

Fix #2643
2016-04-26 19:57:29 -05:00
Brian Robbins
705a48940f Build-Time Hello World Performance Test (#2681)
Hello world build performance benchmark.
2016-04-26 17:52:34 -07:00
Sridhar Periyasamy
f420e1478e Merge pull request #2699 from ellismg/fix-2698
Only publish SharedFramework + SDK for Windows
2016-04-26 17:40:11 -07:00
Piotr Puszkiewicz
cb9ece2049 Merge pull request #2662 from mellinoe/breadcrumb-folder
Create breadcrumb store folder in the sharedframework MSI
2016-04-26 16:38:46 -07:00
Senthil
8ed1891c0b Merge pull request #2648 from schellap/master
Realpath deps runtimeconfig files and improve error messages
2016-04-26 16:21:37 -07:00
Krzysztof Wicher
c61368387b Merge pull request #2694 from dotnet/krwq-patch-4
Update dotnet-pack README.md
2016-04-26 14:38:27 -07:00
Matt Ellis
5b1eadc2d9 Only publish SharedFramework + SDK for Windows
We don't build the combined framework + SDK tarball for any Unix
platforms, but we were incorrectly trying to publish it. Make the
publish step for this artifact specific to Windows as well.
2016-04-26 14:33:40 -07:00
Peter Marcu
b5046edcb9 Merge pull request #2447 from adityamandaleeka/fix_doc_link_rel
Fix incorrect link to documentation in README
2016-04-26 13:17:12 -07:00
Eric Erhardt
7dbf525e48 Merge pull request #2680 from eerhardt/CliEncoding
dotnet build fails if the directory contains unicode characters
2016-04-26 15:11:44 -05:00
Bryan Thornbury
b4bab42e4f Merge pull request #2685 from dotnet/brthor/2536
remove test skips introduced to workaround #2536
2016-04-26 12:21:08 -07:00
Krzysztof Wicher
b7b467e5bc Update dotnet-pack README.md
Skip CI please
2016-04-26 12:13:44 -07:00
Matt Ellis
ba99019af1 Merge pull request #2670 from ellismg/fix-2655
Archive muxer MSI and generate SF+SDK zips
2016-04-26 10:39:27 -07:00
Eric Erhardt
c60abb0d0a Adding a dotnet run test that outputs unicode characters. 2016-04-26 09:36:26 -05:00
Bryan Thornbury
7a7b524b34 add tests for a test app with unicode characters in the path 2016-04-26 09:36:25 -05:00
Eric Erhardt
5c8ef57585 Adding all code pages for dotnet CLI.
Since we write to the console and create new processes and read from their stdout and stderr, we need to ensure we have all the code pages in our process.  This way we can encode/decode strings correctly when writing to our Console, and when reading from spawned process's output.

Fix #2486
2016-04-26 09:36:24 -05:00
Senthil
55e561bfb3 Merge pull request #2673 from schellap/codecvt
Encode wide char to CP_ACP for CLR usage
2016-04-25 20:50:13 -07:00
Bryan Thornbury
498bd3b40f remove test skips introduced to workaround #2536 2016-04-25 17:25:21 -07:00
Piotr Puszkiewicz
7e0714d781 Merge pull request #2586 from Sridhar-MS/binding-redirects
Generate binding redirects for all executable package dependencies.
2016-04-25 17:04:19 -07:00
Senthil
4e72f13f4a Realpath deps, runtimeconfig and probe paths
-- Better error message when runtimeconfig.json does not exist
2016-04-25 15:23:55 -07:00
Senthil
f5141b051c Encode wide char to CP_ACP for CLR usage 2016-04-25 14:45:53 -07:00
Andrew Stanton-Nurse
a729b97b35 align code in dotnet-run (#2679)
we used to use different code when --framework was specified than when it was not specified, this synchronizes them to use the same code path which removes a hidden NullRef

also adds tests to cover both cases
2016-04-25 13:53:02 -07:00
Andrew Stanton-Nurse
06f57c5c81 add net451 target to more projects (#2651)
* add net451 target to more projects

* add missing framework assemblies
2016-04-25 13:52:48 -07:00
Sridhar Periyasamy
beb27a28fc Address PR feedback
Add new tests to invokde executable dependency via a tool command.
2016-04-25 12:02:07 -07:00
Sridhar Periyasamy
c1fbf18059 Disable test due to issue - https://github.com/dotnet/cli/issues/2632
Also fix code where the tests were not getting run.
2016-04-25 11:06:14 -07:00
Sridhar Periyasamy
c82d3cc08d Add Binding redirects tests 2016-04-25 11:06:13 -07:00
Sridhar Periyasamy
4ccd88d00e Generate binding redirects for all executable package dependencies.
Binding redirects are already generated for the current project. This
change is to add these same binding redirects to all executable package
dependencies.

Fixes - #2505

TODO: Add tests.
2016-04-25 10:56:47 -07:00
Mihai Codoban
91fb67835d Merge pull request #2619 from cdmihai/cdmihai/globChangeDetectionRelMerge
Cache inputs for globbing change detection
2016-04-25 09:32:24 -07:00
Pranav K
4974df41ee Merge pull request #2527 from dotnet/prkrishn/run-all-the-tests
Modify dotnet-test to run testRunner for all tfms
2016-04-24 21:51:57 -07:00
Matt Ellis
426ecda078 Archive muxer MSI and generate SF+SDK zips
Fixes #2655
2016-04-24 13:02:53 -07:00
Peter Marcu
d3c65aee87 Merge pull request #2658 from rohit21agrawal/rel/1.0.0
Update nuget version to 3.5.0-beta-1199
2016-04-22 18:44:49 -07:00
Eric Mellino
50ff706d95 Create breadcrumb store folder in the sharedframework MSI installer 2016-04-22 16:42:13 -07:00
Peter Marcu
bb653dff48 Merge pull request #2661 from dotnet/revert-2659-revert-2642-UpdateDependencies
Updating CoreFX to rc2-24022""
2016-04-22 16:41:50 -07:00
Pranav K
4e496c3523 Modify dotnet-test to run testRunner for all tfms
Fixes #2506
2016-04-22 16:40:03 -07:00
Peter Marcu
02f232d4ab Revert "Revert "Updating CoreFX to rc2-24022"" 2016-04-22 16:39:44 -07:00
Mihai Codoban
a3b7c85451 Add input caching for glob change detection 2016-04-22 16:05:50 -07:00
Peter Marcu
8d4d669850 Merge pull request #2659 from dotnet/revert-2642-UpdateDependencies
Revert "Updating CoreFX to rc2-24022"
2016-04-22 16:03:10 -07:00
Peter Marcu
390946f531 Revert "Updating CoreFX to rc2-24022" 2016-04-22 16:01:51 -07:00
Rohit Agrawal
7509e4d175 Update nuget version to 3.5.0-beta-1199 2016-04-22 15:27:00 -07:00
Andrew Stanton-Nurse
ef0ca39da1 Memory usage improvements in build (#2626)
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses

Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Eric Erhardt
80df3688b1 Merge pull request #2642 from eerhardt/UpdateDependencies
Updating CoreFX to rc2-24022
2016-04-22 13:16:28 -05:00
Eric Erhardt
e420515c2b Updating CoreFX to rc2-24022 2016-04-22 10:58:43 -05:00
Eric Erhardt
1a8d393b9b Merge pull request #2415 from eerhardt/FixTestProjects
Fix test project imports to be consistent.
2016-04-22 07:48:23 -05:00
David Fowler
c1f1f20197 Make IsPackageBased() helper method internal 2016-04-21 22:29:18 -07:00
Pawel Kadluczka
deb3367753 Merge pull request #2620 from dotnet/pawelka/tools
Fixing ProjectDependenciesCommandFactory to resolve tools
2016-04-21 22:26:58 -07:00
Pavel Krymets
c8fb6c26c3 Fixed netcore50 package based frameworks (#2630) 2016-04-21 21:47:20 -07:00
moozzyk
1aac8fb643 Fixing ProjectDependenciesCommandFactory to resolve tools
if the package name is different from the dll name

Addresses #2592
2016-04-21 19:15:54 -07:00
Senthil
3d8cbba932 Merge pull request #2617 from schellap/fx-deps-file
Determine FX dir using FX_DEPS_FILE
2016-04-21 13:49:20 -07:00
Eric Erhardt
a2f3c531fb Merge pull request #2411 from eerhardt/FixUpdateDeps
Fix update deps
2016-04-21 11:42:56 -05:00