Update azure-pipelines.yml for Azure Pipelines

Try to fix nuget.
This commit is contained in:
riperiperi 2019-11-13 20:47:29 +00:00
parent 7e1829d5c8
commit ec1811373d

View file

@ -10,7 +10,7 @@ pool:
vmImage: 'windows-latest' vmImage: 'windows-latest'
variables: variables:
solution: '**/Simitone.sln' solution: '/Client/Simitone/Simitone.sln'
buildPlatform: 'Any CPU' buildPlatform: 'Any CPU'
buildConfiguration: 'Release' buildConfiguration: 'Release'
@ -35,6 +35,12 @@ steps:
platform: '$(buildPlatform)' platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)' configuration: '$(buildConfiguration)'
msbuildArgs: /t:Simitone_Windows msbuildArgs: /t:Simitone_Windows
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: '$(solution)'
feedsToUse: 'select'
restoreDirectory: '$(System.DefaultWorkingDirectory)/packages'
- task: VSTest@2 - task: VSTest@2
inputs: inputs: