Commit graph

2852 commits

Author SHA1 Message Date
Eric Erhardt
c8c8dbb2e7 Merge pull request #3028 from eerhardt/FixPublish
Fix publish CoreHost NuGet packages
2016-05-13 20:26:56 -05:00
Eric Erhardt
c84f41e749 Use Moq framework instead of a concrete class to mock ICommandFactory in dotnet-run.UnitTests. 2016-05-13 20:24:22 -05:00
Eric Erhardt
9b80eda72a Address PR review. 2016-05-13 18:13:34 -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
Bryan Thornbury
66350cacc6 Merge pull request #3025 from dotnet/brthor/3024
Move all return statements to exit 0 in install.ps1
2016-05-13 13:50:50 -07:00
Eric Erhardt
8ecb0a3a19 Merge pull request #3022 from eerhardt/Fix3021
Project.json schema warnings don't get displayed
2016-05-13 15:10:51 -05:00
Eric Erhardt
572d68de7e Fixing where the CoreHost packages are published to the correct version folder.
Also fixing 'PullNupkgFilesFromBlob' target to no longer include the hack looking for the CoreHost packages under a "preview" version folder.

Fix #3012
2016-05-13 14:43:08 -05:00
Eric Erhardt
01b7bb439a Merge remote-tracking branch 'upstream/weshaggard-PublishPackagesToNuget' into FixPublish 2016-05-13 14:02:05 -05:00
Bryan
f0cc32e1ee move all return statements to exit 0 2016-05-13 11:39:28 -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
Eric Erhardt
e68a49e1d5 Merge pull request #3004 from dotnet/nuget-update
Update nuget version to 3.5.0-rc-1285
2016-05-13 08:51:11 -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
Pavel Krymets
b8dff69cc1 Revert "Revert "Add performance tests"" (#2820) 2016-05-12 10:33:32 -07:00
Eric Erhardt
418d827d52 Merge pull request #3011 from eerhardt/FixInstallScript
Fix install scripts to deal with content type change.
2016-05-12 11:19:20 -05:00
PiotrP
d906524dec Fix install scripts to deal with content type change. 2016-05-12 10:25:49 -05:00
Eric Erhardt
129fe216be Merge pull request #3001 from eerhardt/Fix2693
dotnet crashes with an unresolved 'platform' dependency.
2016-05-12 09:47:33 -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
Eric Erhardt
6482aa0221 Merge pull request #2990 from svick/docs-path
Corrected path to built dotnet
2016-05-11 16:57:52 -05:00
Bart Koelman
811dfc9bf9 Fixed broken Equals (2) 2016-05-11 23:26:54 +02:00
Eric Erhardt
9b9ddd2e43 Merge pull request #2875 from jasonwilliams200OK/fix/typo
Fix casing of Sha
2016-05-11 14:54:53 -05:00
Petr Onderka
adebb4af6d Corrected path to built dotnet
There is no artifacts\rid\stage2\bin, dotnet is in artifacts\rid\stage2.
2016-05-11 20:28:38 +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
Eric Erhardt
1923b1ffdf Merge pull request #2745 from dotnet/set-content-type-for-versions
set-content-type-for-versions
2016-05-11 13:00:50 -05:00
Eric Erhardt
eec782a6d1 Merge pull request #2870 from dpodder/perf-test-guide
Add README howto for perf tests
2016-05-11 12:57:28 -05:00
Eric Erhardt
04a6573b89 Merge pull request #2932 from dotnet/blackdwarf-patch-2
Update README.md
2016-05-11 12:39:58 -05:00
Eric Erhardt
8013398def Merge pull request #2980 from eerhardt/FixTestCommandErrors
dotnet test and publish failing badly when the project isn't restored.
2016-05-11 11:27:52 -05:00
Eric Erhardt
652d0541ef dotnet test and publish failing badly when the project isn't restored.
Fixing this by checking for diagnostic errors before continuing.

Fix #2692
Fix #2942
2016-05-11 10:43:58 -05:00
Eric Erhardt
728575bc42 Merge pull request #2981 from eerhardt/FixBuiltInTests
Fix BuiltInCommandTests.
2016-05-10 22:22:20 -05:00
Eric Erhardt
ad3a178849 Merge pull request #2858 from eerhardt/telemetry-perf-improvements
Address telemetry PR feedback
2016-05-10 22:19:07 -05:00
Sridhar Periyasamy
c01331f2f9 Merge pull request #2954 from dotnet/piotrpMSFT/preview1to2
preview1 --> preview2
2016-05-10 16:54:15 -07:00
Eric Erhardt
d51c920da8 Fix BuiltInCommandTests.
I forgot to mock out the environment on one of the builtin command tests.
2016-05-10 18:46:47 -05:00
Sridhar Periyasamy
2d435ac880 Update the install scripts to use the preview channel.
Also the default now is the beta channel which has the latest 'preview1'
builds.
2016-05-10 15:35:10 -07:00
Sridhar Periyasamy
aa94c51271 Drop the 'preview2' suffix in test package projects. 2016-05-10 14:51:56 -07:00
Sridhar Periyasamy
1b2b83b6db Upgrade the RC2 branding to RC3.
The following packages are changing:

Microsoft.NetCore.App: 1.0.0-rc2-3002702 -> 1.0.0-rc3-002702
Microsoft.NETCore.DotNetHost: 1.0.1-rc2-002702-00 -> 1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostPolicy: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostResolver: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00

Also publishing the *deb file to teh debian repo feed is disabled -
https://github.com/dotnet/cli/issues/2973
2016-05-10 13:36:20 -07:00
Daniel Podder
2be785c253 Add README howto for perf tests 2016-05-10 08:38:07 -07:00
Sridhar Periyasamy
5496d92144 Add the correct channel to get the debian package names. 2016-05-09 11:48:36 -07:00
Piotr Puszkiewicz
1033e61d57 preview1 --> preview2
Moves CLI version suffix from preview1 to preview2
Sets channel for preview2 to 1.0.0-preview2, abandoning the Beta channel to the 1.0.0-preview1 release. Once @sokket's publishing cleanup work is complete we can re-converge the channels if desired.
2016-05-09 02:41:11 -07:00
Bryan Thornbury
0336f6bb34 Throw Command Unknown for dependency tools in libraries. (#2933)
* Throw Command Unknown for dependency tools in libraries.

* Add testProjects to test tools command for libraries.

* update failing tests

* Add tests verifying that dependency tools are not available in libraries
2016-05-08 14:20:34 -07:00
Peter Marcu
e53acd9bba Merge pull request #2941 from Sridhar-MS/version-suffix
Pass the correct version suffix in the build scripts
2016-05-08 11:31:32 -07:00
Sridhar Periyasamy
566a76e5d3 Pass the correct version suffix in the build scripts 2016-05-07 23:23:31 -07:00
Eric Erhardt
c867787675 Fixing the PullNupkgFilesFromBlob script to look for the corehost and metapackage nupkgs under "preview1" instead of
finding the old "rc2" packages.
2016-05-07 14:57:28 -05:00
Peter Marcu
08b3ad9e88 Merge pull request #2943 from Sridhar-MS/bundle-ui-1
Fix the windows installer UI.
2016-05-06 22:08:28 -07:00
Sridhar Periyasamy
b9c4952e45 Fix the windows installer UI.
Change the font size to accomodate the branding text.
2016-05-06 18:34:45 -07:00
Eric Erhardt
a76fea647e Merge pull request #2930 from eerhardt/MvcNet46
dotnet build raises errors MVC apps target net46.
2016-05-06 17:12:25 -05:00
Ajay Bhargav Baaskaran
7821df9bd3 Use the correct compilerOption in LibraryExporter 2016-05-06 14:53:42 -07:00