Commit graph

1366 commits

Author SHA1 Message Date
Bill Wert
785cab3072 Reduce nuget output
This addresses part of #1623. Unfortunately, because the CLI takes Nuget
as a binary, it is hard to get to where I think we should really be.
This change makes default verbosity "minimal", which is the first level
where you get any status output. Unfortunately, things like package
downgrade warnings and the like still appear there. This does hide all
the "info" and "trace" messages by default.

I also removed the now useless (and previously undocumented)
--quiet.
2016-05-24 21:34:11 -07:00
Livar
fe7b519722 Merge pull request #3215 from eerhardt/netcore-rc3
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -07:00
Bryan Thornbury
2feda51952 Merge pull request #3208 from dotnet/brthor/3083
change optimization data path
2016-05-24 10:26:24 -07:00
schellap
05e1d95b14 Fix resources break 2016-05-23 19:05:03 -07:00
schellap
c037cf321e Revert "Merge pull request #3191 from schellap/deps-clean"
This reverts commit b2c7140b2a, reversing
changes made to d307537eb8.
2016-05-23 19:05:03 -07:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Livar Cunha
f1d781a675 Fixing a couple of dependency versions for the update-tool and dotnet 2016-05-23 17:04:36 -07:00
Sridhar Periyasamy
3abae8b5ef Revert "HACK: Make the TestAssetsManager create shorter paths for test assets."
This reverts commit 196937c2f80129b2b224764cdb3fadca24204408.
2016-05-23 17:04:35 -07:00
Sridhar Periyasamy
0d555afc59 HACK: Make the TestAssetsManager create shorter paths for test assets.
This is a workaround for https://github.com/dotnet/coreclr/issues/5046
Remove this hack once the above issue is fixed.
2016-05-23 17:04:34 -07:00
Sridhar Periyasamy
73b2c3158d Add explicit reference to 'System.Text.RegularExpressions' to 'dotnet' project.json
Crossgen is failing in the CI machines with the below error. So trying to add an explicit reference to see if this issue goes away.

17:53:44 Error: Could not load file or assembly 'System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
17:53:44 Error compiling /mnt/resource/j/workspace/dotnet_cli/rel_1.0.0/debug_debian8.2_x64_prtest/artifacts/debian.8-x64/stage1/sdk/1.0.0-preview2-002767/dotnet.dll: Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
2016-05-23 17:04:30 -07:00
Sridhar Periyasamy
baf28233f4 Address PR feedback. 2016-05-23 17:04:29 -07:00
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Bryan Thornbury
cbc4f58249 change optimization data path 2016-05-23 16:13:30 -07:00
Pavel Krymets
79a07266c9 Fix dependency context merge and msbuildproject resolution 2016-05-23 12:26:53 -07:00
schellap
dafda03832 Revert "Merge pull request #3020 from schellap/deps-clean"
This reverts commit d307537eb8, reversing
changes made to 54ab5b8385.
2016-05-22 13:35:44 -07:00
Senthil
dd07f0f1ed Strict deps resolution else fail fast 2016-05-22 00:50:11 -07:00
Senthil
d61e982011 Merge pull request #3106 from schellap/fx-version
Add --fx-version option to the muxer
2016-05-20 20:43:45 -07:00
Eric Erhardt
ed7c79bb48 Merge pull request #3132 from vcsjones/fix-3084
Move command line parsing into try/catch for test.
2016-05-20 19:03:32 -05:00
Eric Erhardt
354149dfce Merge pull request #3140 from tmat/UpdateDSRN140
Update Microsoft.DiaSymReader.Native to 1.4.0-rc
2016-05-20 15:48:13 -05:00
Kevin Jones
99d8853ef0 Move command line parsing into try/catch for test.
If invalid parameters are specified in `dotnet test`, the CLI does not
catch exceptions that can be thrown such as when specifying `-r` without
a runtime.

Fixes 3084.
2016-05-20 10:00:41 -04:00
Erik Schierboom
81e9b2fe10 Add 'dotnet restore' instruction when lock file is missing 2016-05-20 09:19:05 +02:00
Tomas Matousek
f1bd261109 Update Microsoft.DiaSymReader.Native to 1.4.0-rc 2016-05-19 12:59:02 -07:00
Bill Wert
ed3bd312cf Fix warnings in project.json
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Eric Erhardt
2837db914c Merge pull request #2864 from dotnet/ajbaaska/fix-mappings
Maintain folder structure in mappings
2016-05-19 07:40:23 -05:00
Senthil
aa578bc08e Merge pull request #3104 from schellap/sccs
Fix build minor and add sccsid
2016-05-19 00:12:52 -07:00
Ajay Bhargav Baaskaran
b6e3224387 [Fixes #2829 #2861] Maintain folder structure in mappings 2016-05-18 17:25:23 -07:00
Senthil
e9f0b07596 Merge pull request #3068 from schellap/crt
Eliminate vcredist dependency
2016-05-18 12:00:20 -07:00
Senthil
2d852b02c3 Remove printf debugging 2016-05-18 09:27:30 -07:00
schellap
c9d0b29d9e Add --fx-version option to the muxer 2016-05-18 08:17:33 -07:00
Senthil
9b17ca75d7 Fix build minor and add sccsid 2016-05-17 21:18:02 -07:00
Pavel Krymets
670dbca45b Fix bug preventing MakeRunnable on dependent project when using globbing build 2016-05-17 08:22:43 -07:00
Senthil
52f977dc9f Eliminate vcredist dependency 2016-05-17 01:58:00 -07:00
Pavel Krymets
07b785c183 Merge pull request #2264 from dotnet/pakrym/dc-memory
Optimize dependency context memory usage
2016-05-16 10:50:41 -07:00
Pavel Krymets
c3aa0a5d5a Merge pull request #3033 from dotnet/pakrym/csproj-ref
Copy csproj reference assemblies to build output
2016-05-16 10:30:11 -07:00
Eric Erhardt
864145af6c Merge pull request #3032 from blackdwarf/removecompiledocs
Remove mentions of dotnet-compile
2016-05-16 12:10:52 -05:00
Pavel Krymets
8831e93ddd Copy csproj reference assemblies to build output 2016-05-16 08:41:33 -07:00
Senthil
93233fd496 Merge pull request #3018 from schellap/mxr-hlp
Help message for dotnet
2016-05-14 21:40:47 -07:00
Senthil
547b97a195 Help message for dotnet 2016-05-14 03:35:56 -07:00
Eric Erhardt
eb7054c90d Merge pull request #3013 from eerhardt/StreamForwarder
Console.Write() doesn't show output until a newline
2016-05-13 22:09:55 -05:00
Zlatko Knezevic
2161ab54e1 Remove mentions of dotnet-compile
There were still README.md files in the dotnet-compile and dotnet-compile-csc folders.
There was also a reference to it in dotnet-publish README.md doc. Removed that.

Fix #2622
2016-05-13 14:51:38 -07:00
Eric Erhardt
ecdb10591c Project.json schema warnings don't get displayed
When building a project.json that has schema warnings (and other warnings), we are not writing the warnings to the console. This is a regression.

The fix is to add all diagnostic messages to the LibraryManager, which is responsible to hold all the diagnostic messages.

Fix 3021
2016-05-13 13:10:39 -05:00
Eric Erhardt
6bf59ffde6 Console.Write() doesn't show output until a newline
When running an app with `dotnet run`, we are redirecting the standard out and error just to print it out to our standard out and error. However, we are batching the output until we hit a newline, which isn't ideal for console apps.

To fix this, `dotnet run` no longer redirects the standard out and error.

Fix #2777
2016-05-13 09:03:35 -05:00
Sridhar Periyasamy
a6cc2b07dd Update nuget version to 3.5.0-rc-1285
This is required to update the corefx dependencies from RC2 to RC3. Some
of the corefx libs have 'netstandard1.6' as TFM and this version of Nuget
supports that TFM.

Also the 'VersionRange.IncludePrerelease' has been removed from nuget and by
default 'VersionRange.Satisfies' returns true for any prerelease version.
2016-05-12 21:56:56 -07:00
Eric Erhardt
876a67348d Merge pull request #2946 from schellap/rtm-fixes
Make error message better
2016-05-12 13:47:56 -05:00
Eric Erhardt
f515e80029 Merge pull request #2998 from bkoelman/equals-fix
Fixed broken Equals (2)
2016-05-12 12:40:34 -05:00
Senthil
a9a4e04a08 Make error message better 2016-05-11 20:01:13 -07:00
Pavel Krymets
43c638e46d Optimize dependency context memory usage 2016-05-11 16:14:25 -07:00
Eric Erhardt
17175864cf dotnet crashes with an unresolved 'platform' dependency.
Fixed by calling TryGetValue instead of a dictionary indexer when looking up platform dependencies in ProjectContextBuilder.

Fix #2693
2016-05-11 17:32:42 -05:00
Bart Koelman
811dfc9bf9 Fixed broken Equals (2) 2016-05-11 23:26:54 +02:00
Peter Jas
41e9c9e0fc Fix casing of Sha
`Commit Sha: xyz` -> `Commit SHA-1 hash: xyz`  for `dotnet --info` output.
2016-05-11 18:22:43 +00:00