Commit graph

1266 commits

Author SHA1 Message Date
Adam Gorman
2d73e3b535 Fixing inconsistencies that made build impossibe. 2016-05-03 11:11:31 -07:00
Adam Gorman
ba13586b1c Offloaded more work to Task
Removed all unnecesary code if opted out of telemetry.
Shanged sample rate to 1 for testing purposes.
CI to just regular Test
Changed hash helper function to handle a list<string> to optimize unneceary duplicate sha256 creation
Reduced new memory allocations
2016-05-03 11:11:31 -07:00
Adam Gorman
4b905ae2bd Reducing Telemetry performance delay
Added telemetry timeout
Added SHA256 hashed arguments
Added Continous Integration flag
Added variable rate sampling
Removed ExitCode from telemetry
2016-05-03 11:11:31 -07:00
Eric Erhardt
4f1dbeba0e Merge pull request #2769 from eerhardt/FixBuiltInCommandTests
Fixing BuiltInCommandTests so it doesn't fail sporatically.
2016-05-03 10:31:52 -05:00
Peter Marcu
05d0dcebc1 Merge pull request #2834 from dotnet/davidfowl/placeholders
Fix placeholder resolution logic
2016-05-03 08:15:19 -07:00
David Fowler
90bc89ed67 Fix placeholder resolution logic 2016-05-03 02:00:12 -07:00
Senthil
bf8f0edd89 Resolve hostpolicy out of package graph for servicing
* Resolve hostpolicy out of package graph for servicing
2016-05-03 00:05:56 -07:00
Andrew Stanton-Nurse
08c4aae6a9 trim build dependencies from output 2016-05-02 19:51:12 -07:00
Eric Erhardt
16b996f25b Fixing the BuiltInCommandTests to not mutate global shared state.
The BuiltInCommandTests sets the current Console.Out and Console.Error, which causes the test to fail if some other test is running and writes to the console at the same time.

Fix #2768
2016-05-02 19:02:22 -05:00
Eric Erhardt
9a85205781 Merge pull request #2792 from eerhardt/Relative
Execute 'csc' with working directory set to the project directory.
2016-05-02 18:53:57 -05:00
Ajay Bhargav Baaskaran
a4487db949 Added missed warnings for deprecated schema 2016-05-02 13:22:42 -07:00
Eric Erhardt
d52ea07934 Fixing dotnet-compile and dotnet-test unit tests. Also, fixing a potential NullRef in ProjectContext.
The compile unit test needed to be updated to mock out a new call to ICommand.WorkingDirectory.

The test unit test needed to account for build-base-path getting fully qualified.
2016-05-02 14:39:09 -05:00
Piotr Puszkiewicz
c907d52451 Merge pull request #2809 from eerhardt/UpdateNuGet
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Troy Dai
f32683cbab refactor WorkspaceContext (#2736)
this removes a regression in ProjectModelServer behavior

also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Pavel Krymets
18f9018eb9 Merge pull request #2812 from dotnet/pakrym/is-package-based
Remove IsPackageBased() workaround
2016-05-02 11:16:43 -07:00
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