Commit graph

8045 commits

Author SHA1 Message Date
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
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
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
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
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
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
Livar
c9ac5c9c02
Merge pull request #7951 from wfurt/freebsd
add basic support for FreeBSD
2018-01-22 14:17:56 -08:00
Livar
c46ef46b09
Merge pull request #8444 from livarcocc/update_branding
Updating the CLI branding and version to 2.1.300.
2018-01-22 14:16:46 -08:00
Livar
8b0d66468c
Merge pull request #8446 from livarcocc/update_master_branding
Updating the branding to 2.1.3-preview2.
2018-01-22 14:16:16 -08:00
John Beisner
f6bc5d0ad9
Merge pull request #8443 from johnbeisner/WriteNugetConfigFileTargetModification
Generate a Nuget.config once
2018-01-22 14:11:27 -08:00
Zbyněk Sailer
8cb01e226c LOC CHECKIN | cli - master | 20180112 (#8385)
* LOC CHECKIN | cli - master | 20180112

* LOC CHECKIN | cli - master | 20180118 update

* LOC CHECKIN | cli - master | 20180119 update | DEU fix
2018-01-22 13:56:03 -08:00
Livar Cunha
df2bbb81b2 Updating the branding to 2.1.3-preview2. 2018-01-22 13:32:51 -08:00
Livar Cunha
6695936718 Updating the CLI branding and version to 2.1.300. 2018-01-22 13:26:57 -08:00
jbeisner
d3e905997c If 'OrchestratedPackageVersionsProps.props' is present, do not re-download the file every time 'Run-Build' or 'Build' is called. 2018-01-22 20:49:23 +00:00
jbeisner
9d5bd8637e If the Nuget.config has already been generated, do not re-generate the file every time 'Run-Build' or 'Build' is called. 2018-01-22 20:37:35 +00:00
William Lee
839eccbcaf
MacOs HighSierra Fallback (#8437)
walk around for https://github.com/dotnet/corefx/issues/26488
2018-01-22 10:45:35 -08:00
John Beisner
4dc001ca47
Merge pull request #8441 from dagood/dotnetchecksums
Fix "dotnet" typo in donetclichecksums manifest data
2018-01-22 08:40:51 -08:00
Davis Goodin
0e6586de49 Fix "dotnet" typo in donetclichecksums 2018-01-22 09:42:32 -06:00
William Lee
02a98d4e63
[tools] Integrate NuGet (#8414)
* Integrate NuGet ask

* Update NuGet version. Rely on NuGet to filter TFM. And use asset.json to find entrypoint

* Update XML file to per TFM

* Add extra property to the fake project according to nuget

* Treat nuget fallback folder as offline cache for tool

* Require -g to install global tool

* Copy test asset during test project build

* Address code review on LockFileMatchChecker

* Get NETCorePlatformsImplicitPackageVersion from PackageDefinitions

* Edit and add missing loc

* Change LockFileMatchChecker to local function

* Adding comment

* Add to content instead of copy

* Download platform package instead

* disable SDK side implicit NuGetFallbackFolder

* merge loc

* Revert extra line

* use a prerelease platforms version that supports alpine
2018-01-19 17:15:34 -08:00
William Lee
c7d44beca7
Merge pull request #8433 from natemcmaster/simplify-win-shim
Simplify the tool_launcher to build for just one version of .NET Framework
2018-01-19 16:19:51 -08:00
William Lee
e317925977
Merge pull request #8435 from dotnet/nuget-insertbuild4846
Insert NuGet Build 4.7.0-preview1-4846 into cli
2018-01-19 15:25:28 -08:00
Livar
e224249f2c
Merge pull request #8432 from natemcmaster/aspnet-28124
Update to aspnetcore 2.1.0-preview1-28124
2018-01-19 15:21:08 -08:00
Nate McMaster
c8bae2ffda Simplify the tool_launcher to build for just one version of .NET Framework 2018-01-19 15:19:33 -08:00
NuGet Team Bot
47758a4ec2 Insert NuGet Build 4.7.0-preview1-4846 into cli 2018-01-19 14:32:57 -08:00
Nate McMaster
67f98be680 Update to aspnetcore 2.1.0-preview1-28124 2018-01-19 13:17:54 -08:00