Commit graph

8064 commits

Author SHA1 Message Date
dotnet-bot
7bc25a328a Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview2-26131-06, preview2-26131-06, preview2-26131-06, beta1-62608-01, respectively 2018-02-08 01:57:49 +00:00
William Lee
f050264331
Rename to BundledNETCorePlatformsPackageVersion (#8538) 2018-02-07 14:28:13 -08:00
William Lee
5fa558a2ed
Atomic install tool (#8518)
* Make dotnet install tool atomic

Apply TransactionScope to tool install. It can handle the correct timing
of roll back and commit.

Convert existing ToolPackageObtainer and ShellShimMaker by passing logic
via lambda to an object that has IEnlistmentNotification interface. It
turns out the very clean.

Use .stage as staging place to verify of package content, and shim. It
should roll back when something is wrong. When there is ctrl-c, there
will be garbage in .stage folder but not the root of the package folder.
2018-02-06 13:38:06 -08:00
Livar
38e452204c
Merge pull request #8543 from livarcocc/merge_release_213xx
Merge release/2.1.3xx
2018-02-06 12:17:13 -08:00
Livar
74fb82e714
Merge pull request #8544 from peterhuene/update-archiver-version
Update Microsoft.DotNet.Archive version.
2018-02-06 10:05:40 -08:00
Peter Huene
9c72bbd74b
Update Microsoft.DotNet.Archive version.
This commit updates Microsoft.DotNet.Archive version number to include a fix
for #8288.
2018-02-05 16:52:03 -08:00
Livar Cunha
c9cfa933c8 Reverting the channel and branchname to master. 2018-02-05 15:57:49 -08:00
Livar Cunha
2980fdbfa1 Merge branch 'release/2.1.3xx' into merge_release_213xx
* release/2.1.3xx:
  Infrastructure updates: CLI:master -> release/2.1.3xx (#8541)
  Fixing the recent CLI test failures around ASP.NETcore in the orchestrated build: adding a 'dotnet-corefxlab' feed. (#8536)
  Update BranchInfo.props
  Update the branch info to be correct for 2.1
  [Fixes #8511] Update ASP.NET Core certificate installation message
  Excluding shared framework assemblies from the Roslyn folder in the SDK.
  Updating Roslyn to 2.7.0-beta3-62529-06.
2018-02-05 15:55:31 -08:00
John Beisner
47da513313
Infrastructure updates: CLI:master -> release/2.1.3xx (#8541)
* Repairing the first pass call to 'dotnet msbuild'; CLI:master (#8488)

* '$ExtraParametersNoTargets', which is used on the first pass call to 'dotnet msbuild', currently is of type 'string' not 'List'1' as is '$ExtraParameters'. This results in the non-honoring of any parameter other than parameter one. Solution: Make a copy of '$ExtraParameters' to '$ExtraParametersNoTargets' of type 'List'1' and remove the targets from the list.

* Swallow the boolean output from '$ExtraParametersNoTargets.Remove'

* Specifically capture "/t:" or "/target:" only.

* The "${arg,,}" syntax works well on dev and Jenkins OSX machines but does not work correctly on VSO build machines [likely a lower version of bash on VSO machines]. Therefore, using 'awk' to transforming to lower case. (#8497)

* Orchestrated final publish; CLI:master (#8504)

* Orchestrated final publish: https://github.com/dotnet/core-eng/issues/2407

* Changes per code review...

* The orchestrated "PackageVersion" type variables should not be used in any of the 'proj' files of the built build tools under: "build_projects"
2018-02-05 15:50:50 -08:00
Pranav K
f0b60ed02c
Merge pull request #8537 from dotnet/prkrishn/razor-sdk
Add Microsoft.NET.Sdk.Razor to the CLI
2018-02-05 15:00:21 -08:00
John Beisner
e260e79229
Fixing the recent CLI test failures around ASP.NETcore in the orchestrated build: adding a 'dotnet-corefxlab' feed. (#8536) 2018-02-05 10:38:53 -08:00
Pranav K
52c2f25e67 Add Microsoft.NET.Sdk.Razor to the CLI 2018-02-05 10:29:00 -08:00
Peter Huene
c22f7e29a0
Merge pull request #8486 from peterhuene/install-tool-visibility
Add verbosity option to `install tool` command.
2018-02-02 15:37:11 -08:00
Matt Mitchell
7f39cc3040
Merge pull request #8527 from dotnet/mmitche-patch-2
Update the branch info to be correct for 2.1
2018-02-02 13:21:12 -08:00
Matt Mitchell
cecc2331d6
Update BranchInfo.props 2018-02-02 09:07:11 -08:00
Matt Mitchell
494c61f864
Update the branch info to be correct for 2.1 2018-02-02 08:56:12 -08:00
Livar
89898c5a45
Merge pull request #8512 from javiercn/javiercn/update-message
Update ASP.NET Core certificate installation message
2018-02-01 19:07:20 -08:00
Daniel Plaisted
03f3a93c92
Merge pull request #8516 from dotnet/nguerrera/update-sdk
Insert latest dotnet/sdk
2018-01-31 16:26:42 -08:00
Peter Huene
7ebfdde749
Add verbosity option to install tool command.
This commit adds the `--verbosity` option to the `install tool` command.

MSBuild/NuGet output is now controllable by the user and defaults to being "quiet".

This enables users to see warnings from NuGet that otherwise would be swallowed
unless NuGet returned a non-zero exit code. As a byproduct of this change, the
exception handling and error messages related to obtaining tool packages was
retooled. We no longer display `install tool` command line help for installation
failures, as it should only be displayed for command line syntax errors.

Fixes #8465.
2018-01-31 15:19:34 -08:00
Nick Guerrera
55b9d8d7a9
Insert latest dotnet/sdk 2018-01-31 15:10:13 -08:00
Javier Calvarro Nelson
b1c780550f [Fixes #8511] Update ASP.NET Core certificate installation message 2018-01-31 12:47:16 -08:00
Peter Huene
085452eaae
Merge pull request #8510 from peterhuene/merge-3xx-master
Merge branch 'release/2.1.3xx' to master.
2018-01-31 10:28:59 -08:00
Peter Huene
d8d600d44e
Merge branch 'release/2.1.3xx' into master
* release/2.1.3xx:
  Updating the WebSdk DependencyVersion to support local build
  Fix non-fatal null exception when no extra parameters are passed.
  Separate tool package and shim file location
  Updating the CLI branding and version to 2.1.300.

* Conflicts
  src/dotnet/commands/dotnet-install/dotnet-install-tool/InstallToolCommand.cs
  run-build.ps1
  build/Version.props
2018-01-30 16:47:05 -08:00
Livar
8f9fea34d1
Merge pull request #8499 from livarcocc/update_roslyn_for_21
Updating Roslyn to 2.7.0-beta3-62529-06.
2018-01-30 16:42:57 -08:00
Livar
d0b746b882
Merge pull request #8506 from dotnet-bot/master-UpdateDependencies
Update CoreSetup, CoreSetup, CoreSetup to preview2-26130-06, preview2-26130-06, preview2-26130-06, respectively (master)
2018-01-30 16:42:39 -08:00
Livar
3a34dfbc51
Merge pull request #8509 from livarcocc/roslyn_from_maestro
Adding roslyn to automatic dependency flow through maestro.
2018-01-30 16:34:41 -08:00
Livar Cunha
b72335271a Adding roslyn to automatic dependency flow through maestro. 2018-01-30 15:43:41 -08:00
William Lee
55eb8bb7fc
replace string with FilePath (#8494) 2018-01-30 15:41:39 -08:00
John Beisner
8649a5c6c2
Orchestrated final publish; CLI:master (#8504)
* Orchestrated final publish: https://github.com/dotnet/core-eng/issues/2407

* Changes per code review...
2018-01-30 15:22:32 -08:00
dotnet-bot
0228229c1c Update CoreSetup, CoreSetup, CoreSetup to preview2-26130-06, preview2-26130-06, preview2-26130-06, respectively 2018-01-30 22:49:53 +00:00
Livar Cunha
a52bd1a205 Excluding shared framework assemblies from the Roslyn folder in the SDK. 2018-01-30 14:02:40 -08:00
Livar
a8a0657ce8
Merge pull request #8501 from livarcocc/fix_update_dependency
Fixing update dependency by using the new APIs.
2018-01-30 12:05:32 -08:00
Livar Cunha
7bee59fe14 Fixing update dependency by using the new APIs. We broke this when we updated the version of VersionTools. 2018-01-30 11:23:52 -08:00
Livar
40cdc98110
Merge pull request #8489 from dotnet/vramak/WebSdkUpdate_1_26_2018
Updating the WebSdk DependencyVersion to support local build
2018-01-29 14:22:37 -08:00
Livar Cunha
0be7da612c Updating Roslyn to 2.7.0-beta3-62529-06. 2018-01-29 14:20:16 -08:00
John Beisner
71f22a9f37
The "${arg,,}" syntax works well on dev and Jenkins OSX machines but does not work correctly on VSO build machines [likely a lower version of bash on VSO machines]. Therefore, using 'awk' to transforming to lower case. (#8497) 2018-01-29 13:26:45 -08:00
John Beisner
3e35517ce8
Repairing the first pass call to 'dotnet msbuild'; CLI:master (#8488)
* '$ExtraParametersNoTargets', which is used on the first pass call to 'dotnet msbuild', currently is of type 'string' not 'List'1' as is '$ExtraParameters'. This results in the non-honoring of any parameter other than parameter one. Solution: Make a copy of '$ExtraParameters' to '$ExtraParametersNoTargets' of type 'List'1' and remove the targets from the list.

* Swallow the boolean output from '$ExtraParametersNoTargets.Remove'

* Specifically capture "/t:" or "/target:" only.
2018-01-29 11:48:26 -08:00
Vijay Ramakrishnan
c20517094d Updating the WebSdk DependencyVersion to support local build 2018-01-26 18:12:54 -08:00
William Lee
78904831f9
Fix test folder cannot delete and missing test (#8480) 2018-01-25 20:17:33 -08:00
William Lee
9e535a867a
Remove PackageToProjectFileAdder (#8468)
Add reference to project with version * is doing the same thing
2018-01-24 17:55:26 -08:00
William Lee
05052c0541
Use rich mock to test InstallCommand (#8402)
To ensure the mock has the same behavior the component has, run mock under the same tests the adapter has.
It is a common problem that moq has -- "everything is mocked out, you are not test anything"
2018-01-24 10:16:27 -08:00
John Beisner
dddf53509f
Merge pull request #8460 from johnbeisner/Update2.1.3xx
Fix non-fatal null exception when no extra parameters are passed.
2018-01-24 08:45:08 -08:00
jbeisner
954e2de29e Fix non-fatal null exception when no extra parameters are passed. 2018-01-23 23:59:31 +00:00
Matt Mitchell
f4a0d2db0e
Merge pull request #8453 from johnbeisner/Revert8443
Revert PR:8443
2018-01-23 10:58:58 -08:00
jbeisner
338bdfb47c Revert "If 'OrchestratedPackageVersionsProps.props' is present, do not re-download the file every time 'Run-Build' or 'Build' is called."
This reverts commit d3e905997c.
2018-01-23 17:46:09 +00:00
jbeisner
94fc976ea5 Revert "If the Nuget.config has already been generated, do not re-generate the file every time 'Run-Build' or 'Build' is called."
This reverts commit 9d5bd8637e.
2018-01-23 17:45:14 +00:00
Matt Mitchell
80a5a829ea
Merge pull request #8448 from johnbeisner/OBuildFix
Use a unchanging version for 'Microsoft.NETCore.App'
2018-01-23 07:43:11 -08:00
jbeisner
579e84734a The orchestrated "PackageVersion" type variables should not be used in any of the 'proj' files of the built build tools under: "build_projects" 2018-01-22 21:39:47 -08:00
Livar
34748d5a12
Merge pull request #8447 from wli3/separate-toolpackage-shim
Separate tool package and shim file location
2018-01-22 18:09:23 -08:00
William Li
36c01137ad Separate tool package and shim file location 2018-01-22 16:30:52 -08:00