Commit graph

1325 commits

Author SHA1 Message Date
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
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
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
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
ad3a178849 Merge pull request #2858 from eerhardt/telemetry-perf-improvements
Address telemetry PR feedback
2016-05-10 22:19:07 -05: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
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
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
Eric Erhardt
d98c1f8724 dotnet build raises errors MVC apps target net46.
The issue is when the ProjectContextBuilder sees a CompileTimePlaceholder "_._" file on a full framework, it assumes that dependency has to come from the "Reference Assemblies" directory.  If it can't be found there, an error is raised.  However, there are other reasons "_._" placeholders are created (when a NuGet package doesn't want its dependencies to be exposed in the Compile dependencies of its consumers). And these placeholders can exist for assemblies that aren't in the full framework - in this case System.Diagnostics.FileVersionInfo and others.

To fix this, if the reference can't be resolved from the "Reference Assemblies" folder, it is just skipped. If the compiler really needs that assembly, it will raise an error to the user.  Dotnet build shouldn't raise the error.

Fix #2906
2016-05-06 14:32:50 -05:00
Bryan Thornbury
f538c4f19f Move to P2P references all over the place 2016-05-05 17:21:27 -07:00
Bryan
94840de4e1 fixup all references to the right version suffixes 2016-05-05 11:05:59 -07:00
Bryan
d1cd3703ac update rc2-preview1 to preview1 2016-05-05 11:05:58 -07:00
Bryan
5bcc4c91c5 add suffix to projectmodel.workspaces, use commit count in pack so version suffix is untouched. 2016-05-05 11:05:57 -07:00
Piotr Puszkiewicz
c3fe0d062f Fix package versions 2016-05-05 11:05:55 -07:00
Senthil
d9d8bb2f03 Merge pull request #2898 from schellap/master
Prefer servicing for native dll search order
2016-05-05 09:55:14 -07:00
Senthil
c99e92a6a8 Prefer servicing for native dll search order 2016-05-05 04:53:50 -07:00
Senthil
1670ffbc3d Enable stack protect and fpic/fpie for host 2016-05-04 21:11:37 -07:00
Eric Erhardt
c0aeb91d61 Merge pull request #2878 from rrelyea/rrelyea/updateNugetVersions
Update version number of Nuget binaries to 3.5.0-beta
2016-05-04 18:04:31 -05:00
Zlatko Knezevic
ca554c9838 Fix the dotnet-new README.md (#2891)
Remove the `--type` additional options that are not valid. 

skip ci please

Fix #2867
2016-05-04 15:43:34 -07:00
Eric Erhardt
ece4ae52b2 Merge pull request #2851 from dasMulli/bugfix/schema-upgrade-new-project-template
Update dotnet-new templates to new project.json schema
2016-05-04 15:51:17 -05:00
Rob Relyea
804b0eea97 Update version number of Nuget binaries to 3.5.0-beta (now w/o buildnumbers) 2016-05-04 13:14:02 -07:00
Eric Erhardt
f1e84bbafa Merge pull request #2860 from alpaix/rel/1.0.0
Update NuGet to 3.5.0-beta-1246
2016-05-04 09:28:59 -05:00
Alex Panov
0d6b3c8482 Update NuGet to 3.5.0-beta-1246 2016-05-03 17:34:46 -07:00
Eric Erhardt
a93ce8c0e8 Address PR feedback
- Track telemetry isInitialized by checking for TelemetryClient != null
- Don't store the telemetry profile string
2016-05-03 19:19:10 -05:00
Bryan
7cf36037eb fixes #2737 2016-05-03 16:19:35 -07:00
Piotr Puszkiewicz
3e96a05f9c Merge pull request #2781 from dotnet/brthor/2760
fixes #2760
2016-05-03 15:15:42 -07:00
Piotr Puszkiewicz
99193a3a91 Merge pull request #2724 from adamgorMSFT/adamgor/telemetry-perf-improvements
Improving Telemetry performance
2016-05-03 15:14:58 -07:00
dasMulli
d39a905a5b Updated dotnet-new templates to new project.json schema. 2016-05-03 23:19:20 +02:00
Piotr Puszkiewicz
69a32cc010 Merge pull request #2653 from dotnet/piotrpMSFT/issue2584/multicoreJIT
Piotrp msft/issue2584/multicore jit
2016-05-03 14:15:25 -07:00
Eric Erhardt
58fa6721b8 Merge pull request #2842 from eerhardt/UpdateRoslyn
Update Roslyn to 1.3.0-beta1-20160429-01
2016-05-03 15:57:33 -05:00
Piotr Puszkiewicz
a2139324f0 Merge pull request #2822 from dotnet/ajbaaska/default-builtin-fix
Fix: builtIn defaults are not used when builtIn is not specified
2016-05-03 13:46:38 -07:00
Eric Erhardt
6d698181a0 Add Telemetry Profile environment variable.
Also removing unnecessary code in Telemetry.cs.
2016-05-03 15:42:09 -05:00
Bryan Thornbury
25335d20fe PR Feedback 2016-05-03 13:30:59 -07:00
PiotrP
333fbbd167 When profile directory does not exist Then skip MCJ 2016-05-03 12:50:12 -07:00
Piotr Puszkiewicz
9f0dab1a08 PR Feedback 2016-05-03 11:38:55 -07:00
Bryan
a25e92208e fixes #2760
Verify coreclr absence/presence depending on app type during dotnet build.
2016-05-03 11:34:56 -07:00
Eric Erhardt
ff06227e50 Update Roslyn to 1.3.0-beta1-20160429-01 2016-05-03 13:21:26 -05:00
Adam Gorman
4aa22c3344 Adding copyright header 2016-05-03 11:11:31 -07:00
Adam Gorman
5d548b339a Misc cleanup 2016-05-03 11:11:31 -07:00
Adam Gorman
42324ab9da Removing accidental duplicate code 2016-05-03 11:11:31 -07:00
Adam Gorman
702a44efc3 whitespace cleanup 2016-05-03 11:11:31 -07:00