Eric Erhardt
6249829e68
Fix build-base-path to be converted to a full path.
...
This allows commands to run in different working directories and pass around the full path to the build-base-path, instead of a relative path.
2016-05-02 12:21:12 -05:00
Pavel Krymets
c9764bb1e1
Remove IsPackageBased() workaroung
2016-05-02 09:41:29 -07:00
Pavel Krymets
dc249cb94b
Move
efs to shared runtime
2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced
Updating NuGet references from beta to rc.
2016-05-02 09:29:51 -05:00
Eric Erhardt
f2d917ed2e
Execute 'csc' with working directory set to the project directory.
...
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.
Fix #2710
2016-05-01 22:46:03 -05:00
Pranav K
011b5590d7
Merge pull request #2797 from dotnet/prkrishn/update-runner
...
Updating to latest dotnet-test-xunit
2016-04-30 19:40:22 -07:00
Pranav K
2ddd3ca9a0
Updating to latest dotnet-test-xunit
2016-04-30 18:25:11 -07:00
Eric Erhardt
8a36fe7cd4
Merge pull request #2795 from eerhardt/UpdateRoslyn
...
Update Roslyn to 1.3.0-beta1-20160425-01
2016-04-30 20:09:16 -05:00
Eric Erhardt
34d040dc00
Update Roslyn to 1.3.0-beta1-20160425-01
2016-04-30 16:14:53 -05:00
Pranav K
9e768d9cad
Merge pull request #2767 from dotnet/prkrishn/filesystemglobber
...
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 19:57:47 -07:00
Justin Emgarten
69f1bc9937
Merge pull request #2778 from rohit21agrawal/rel/1.0.0
...
Update nuget version to 3.5.0-beta-1233
2016-04-29 19:53:48 -07:00
Mihai Codoban
57a684c912
Merge pull request #2744 from cdmihai/cdmihai/throwWhenRedirectingBadDlls
...
Add exception handling when makerunable fails
2016-04-29 18:47:35 -07:00
Pranav K
734c9fc43b
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 17:55:06 -07:00
Pranav K
1e753f7781
Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal
2016-04-29 16:06:23 -07:00
Eric Erhardt
2a49edbb6e
Merge pull request #2750 from eerhardt/RemoveJsonParser
...
Remove JsonParser dependency
2016-04-29 17:57:43 -05:00
Bryan
3f4fdb43f7
Revert "fixes #2760 "
...
This reverts commit 62fd2c5f11
.
2016-04-29 15:52:55 -07:00
Bryan
62fd2c5f11
fixes #2760
2016-04-29 15:49:33 -07:00
Rohit Agrawal
e0567e976f
Updating NuGet to version 3.5.0-beta-1233
2016-04-29 15:04:54 -07:00
Senthil
af5a889477
Merge pull request #2749 from schellap/commit-sha
...
Add commit hash to dotnet
2016-04-29 13:27:28 -07:00
Pranav K
944d4e543a
Merge pull request #2732 from dotnet/prkrishn/remove-cycles
...
Remove references to Microsoft.Extensions.Logging
2016-04-29 10:40:24 -07:00
Pavel Krymets
cf6fdc6dac
Merge pull request #2733 from dotnet/anurse/perf-tracing
...
Add performance tracing to dotnet cli
2016-04-29 09:45:48 -07:00
Andrew Stanton-Nurse
36e56e9d00
Add performance tracing
2016-04-29 08:16:37 -07:00
Eric Erhardt
77da06b392
Remove JsonParser dependency
2016-04-28 21:14:45 -05:00
Senthil
9f05d51ddb
Add commit hash to dotnet
2016-04-28 18:18:34 -07:00
Mihai Codoban
b480eb9072
Better error messages when makerunnable fails
2016-04-28 17:49:04 -07:00
Pranav K
54cfe01869
Remove references to Microsoft.Extensions.Logging
2016-04-28 13:07:34 -07:00
Eric Erhardt
38d0c28a1e
Merge pull request #2700 from eerhardt/FixFilePath
...
"dotnet test project.json" fails in a directory with a test project.json in it
2016-04-28 12:32:51 -05:00
Andrew Stanton-Nurse
b98bc1289d
abort build when an unresolved dependency is found ( #2696 )
2016-04-28 10:02:05 -07:00
Pavel Krymets
f8300f8747
Merge pull request #2721 from dotnet/pakry/no-deps-yes-deps
...
Fix --no-dependencies incremental check regression
2016-04-28 08:43:59 -07:00
Eric Erhardt
a5ef326f81
Addressing PR feedback round 2.
2016-04-28 09:15:41 -05:00
Eric Erhardt
a09f6788af
Address PR feedback.
2016-04-28 08:50:23 -05:00
Eric Erhardt
a070976671
"dotnet test project.json" fails in a directory with a test project.json in it
...
When the current directory contains a valid project.json, and the user just says `dotnet test project.json`, normalizing the path fails becuase we end up calling Path.GetFullPath with an empty string.
To fix this, if the directory of the file is empty, use the current directory.
Fixing this for all "dotnet XXX" commands.
Fix #2691
2016-04-28 08:49:32 -05:00
Senthil
3a2a789b1c
Merge pull request #2636 from schellap/muxer-lock
...
Muxer lock down
2016-04-28 00:14:11 -07:00
Senthil
c5a18b7376
Improve error messages
...
o Elaborate error message when framework not found
2016-04-27 19:57:03 -07:00
Eric Erhardt
a9621eb469
Merge pull request #2717 from eerhardt/Spaces
...
dotnet build fails with xmlDoc = true and spaces in the path.
2016-04-27 20:36:36 -05:00
Pavel Krymets
40b96398b8
Merge pull request #2684 from dotnet/pakrym/desktop-standalone
...
Fix desktop standalone scenario
2016-04-27 18:23:44 -07:00
Senthil
62eda6c2d7
Lock down muxer
2016-04-27 18:15:10 -07:00
Senthil
2e963a6aef
Merge pull request #2705 from schellap/tls
...
Convert UTF8 using MultiByteToWideChar
2016-04-27 16:58:45 -07:00
Pavel Krymets
9ffa4ad399
Fix --no-dependencies incremental check regression
2016-04-27 15:29:12 -07:00
Senthil
4b9f0e7933
Convert UTF8 using MultiByteToWideChar
2016-04-27 14:22:42 -07:00
Eric Erhardt
2ed81240fa
dotnet build fails with xmlDoc = true and spaces in the path.
...
Need to quote the xmlDoc argument to the csc compiler.
Fix #2600
2016-04-27 15:43:12 -05:00
Pavel Krymets
f3b47cabf1
Fix desktop standalone scenario
2016-04-27 12:16:40 -07:00
Ajay Bhargav Baaskaran
44fd8bc2de
Updated ProjectModel
...
- Added PackOptions, RuntimeOptions, PublishOptions and updated CompilationOptions
- Added IncludeFilesResolver to parse include, exclude patterns
- Added compile, embed and copyToOutput to compilationOptions
- Renamed compilationOptions to buildOptions
- Moved compilerName into buildOptions
- This change is backwards compatible
- Added warnings to be shown when the old schema is used
- Handled diagnostic messages in ProjectReader
- Added unit and end to end tests
2016-04-27 11:49:44 -07:00
eerhardt
f8a155a4e6
Updating CoreFx to rc2-24027
2016-04-27 05:41:53 +00: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
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
Krzysztof Wicher
b7b467e5bc
Update dotnet-pack README.md
...
Skip CI please
2016-04-26 12:13:44 -07: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
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
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
Pranav K
4e496c3523
Modify dotnet-test to run testRunner for all tfms
...
Fixes #2506
2016-04-22 16:40:03 -07:00
Mihai Codoban
a3b7c85451
Add input caching for glob change detection
2016-04-22 16:05:50 -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
e420515c2b
Updating CoreFX to rc2-24022
2016-04-22 10:58:43 -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
David Fowler
4af795b9e8
Fix duplicate dependency issue ( #2597 )
...
* Fix duplicate dependency issue
If a package has the same name as a framework assembly in the dependency
graph, we usually replace it with the framework assembly if the package
provides no assets. If the framework assembly wasn't resolved, it would
skip this logic and end up adding dupes to the list, which blows up later on.
This is a tactical fix to solve the issue, we need to do some more thinking
to determine how we want to resolve conflicts between framework assemblies,
packages and dlls with the same name.
2016-04-21 09:05:55 -07:00
Senthil
342cf79490
Determine FX dir using FX_DEPS_FILE
2016-04-21 00:14:54 -07:00
Eric Erhardt
0c64a7ebc9
Merging with latest code.
2016-04-20 18:52:23 -05:00
Eric Erhardt
02194fca67
Fixing compiler command line options bugs.
...
- Ensure the long names start with `--`
- Handle null strings in UnescapeNewlines
- Handle bool options correctly.
- Allow dotnet run, compile-csc, and compile-fsc to handle .rsp files.
2016-04-20 18:47:38 -05:00
Eric Erhardt
6fa3a8132e
Enhance CommandLine
...
- Allow CommandLineApplication to handle .rsp files.
- Allow CommandOption to handle MultilpeValue options that have "..." at the end of their template.
- Allow CommandOption to handle boolean values with explicit or null values.
2016-04-20 18:47:37 -05:00
Eric Erhardt
44483ddc98
Remove System.CommandLine dependency.
...
Also removed the dependency on Microsoft.Extensions.CommandLineUtils.Sources NuGet package and instead just checking the source files into our repo as internal classes.
Fix #2526
2016-04-20 18:47:37 -05:00
Eric Erhardt
d06418509d
Merge pull request #2606 from eerhardt/UpdateAspDeps
...
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
2016-04-20 18:37:16 -05:00
Pavel Krymets
88ffa548ba
Merge pull request #2574 from dotnet/pakrym/graph
...
Add multiple input project support
2016-04-20 16:12:23 -07:00
Piotr Puszkiewicz
97fd374a86
Merge pull request #1530 from dotnet/blackdwarf-patch-2
...
Add test, remove repl from common commands help output
2016-04-20 16:08:11 -07:00
Senthil
d02e09a5fb
Merge pull request #2546 from schellap/breadcrumb
...
Breadcrumbs for servicing
2016-04-20 15:10:01 -07:00
Pavel Krymets
03e698f0c2
Improve traversing performance
2016-04-20 14:01:32 -07:00
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