Fixing azure-pipelines.yml (again)

This commit is contained in:
Robin 2020-03-03 13:09:29 +01:00
commit 084fc988a7

View file

@ -19,7 +19,7 @@ stages:
vmImage: 'Windows-latest' vmImage: 'Windows-latest'
variables: variables:
solution: '**/src/*.sln' solution: 'Greenshot.sln'
buildPlatform: 'Any CPU' buildPlatform: 'Any CPU'
buildConfiguration: 'Release' buildConfiguration: 'Release'
@ -29,12 +29,13 @@ stages:
- task: NuGetCommand@2 - task: NuGetCommand@2
displayName: NuGet restore displayName: NuGet restore
inputs: inputs:
command: 'restore'
restoreSolution: '$(solution)' restoreSolution: '$(solution)'
feedsToUse: config feedsToUse: config
- task: MSBuild@1 - task: MSBuild@1
inputs: inputs:
solution: 'Greenshot.sln' solution: '$(solution)'
#msbuildLocationMethod: 'version' # Optional. Options: version, location #msbuildLocationMethod: 'version' # Optional. Options: version, location
#msbuildVersion: 'latest' # Optional. Options: latest, 16.0, 15.0, 14.0, 12.0, 4.0 #msbuildVersion: 'latest' # Optional. Options: latest, 16.0, 15.0, 14.0, 12.0, 4.0
#msbuildArchitecture: 'x86' # Optional. Options: x86, x64 #msbuildArchitecture: 'x86' # Optional. Options: x86, x64