Skip to content

Commit 51160f0

Browse files
committed
use NuGet restore in Azure
1 parent fd8e634 commit 51160f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-pipelines.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ jobs:
99
./testspace config url samples.testspace.com
1010
./testspace -v
1111
displayName: 'Setup'
12+
- task: NuGetCommand@2
13+
inputs:
14+
command: 'restore'
15+
restoreSolution: 'money\cs-money.sln'
1216
- task: VSBuild@1
1317
inputs:
1418
solution: 'money\cs-money.sln'
15-
vsVersion: '14.0' # Optional. Options: latest, 15.0, 14.0, 12.0, 11.0
19+
vsVersion: '15.0' # Optional. Options: latest, 15.0, 14.0, 12.0, 11.0
1620
configuration: Debug
17-
restoreNugetPackages: true
1821
msbuildArgs: '/p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml'
1922
- script: |
2023
.\money\packages\OpenCover.4.6.519\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user

0 commit comments

Comments
 (0)