Use NuGet 5.x (#1262)
* Use NuGet 5.x * Use tool installer v1 * Remove duplicate NonInteractive argument
This commit is contained in:
parent
54d81721cf
commit
abaee845c3
@ -5,11 +5,10 @@ parameters:
|
|||||||
extraMsBuildArgs: ''
|
extraMsBuildArgs: ''
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@0
|
- task: NuGetToolInstaller@1
|
||||||
displayName: Use NuGet 5.0.2
|
displayName: Use NuGet 5.x
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: 5.0.2
|
versionSpec: 5.x
|
||||||
checkLatest: true
|
|
||||||
|
|
||||||
# In most accounts, you can just use 'NuGetCommand' instead of this GUID.
|
# In most accounts, you can just use 'NuGetCommand' instead of this GUID.
|
||||||
# In the microsoft.visualstudio.com account, NuGetCommand is ambiguous so the GUID is needed.
|
# In the microsoft.visualstudio.com account, NuGetCommand is ambiguous so the GUID is needed.
|
||||||
@ -17,7 +16,7 @@ steps:
|
|||||||
displayName: NuGet restore src/Calculator.sln
|
displayName: NuGet restore src/Calculator.sln
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: restore src/Calculator.sln -Verbosity Detailed -NonInteractive
|
arguments: restore src/Calculator.sln -Verbosity Detailed
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Set version number in AppxManifest
|
displayName: Set version number in AppxManifest
|
||||||
|
@ -39,11 +39,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
XES_DISABLEPROV: true
|
XES_DISABLEPROV: true
|
||||||
|
|
||||||
- task: NuGetToolInstaller@0
|
- task: NuGetToolInstaller@1
|
||||||
displayName: Use NuGet 4.7.1
|
displayName: Use NuGet 5.x
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: 4.7.1
|
versionSpec: 5.x
|
||||||
checkLatest: true
|
|
||||||
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: Download appxBundle artifact
|
displayName: Download appxBundle artifact
|
||||||
|
Loading…
Reference in New Issue
Block a user