Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Markus Hofknecht 2021-06-06 16:28:16 +02:00
parent 61fdad66d9
commit 70f95a0991

View file

@ -23,11 +23,13 @@ steps:
packageType: sdk packageType: sdk
version: 3.1.102 version: 3.1.102
- task: NuGetCommand@2
displayName: NuGet restore #- task: NuGetCommand@2
inputs: # displayName: NuGet restore
restoreSolution: '$(solution)' # inputs:
feedsToUse: config # restoreSolution: '$(solution)'
# feedsToUse: config
## => not more working, removed, trying via MSBuild restoreNugetPackages
#- task: DotNetCoreCLI@2 #- task: DotNetCoreCLI@2
# displayName: Publish single-exe x64 # displayName: Publish single-exe x64
@ -64,6 +66,7 @@ steps:
displayName: 'MSBuild' displayName: 'MSBuild'
inputs: inputs:
solution: '**/*.sln' solution: '**/*.sln'
restoreNugetPackages: true
msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"' msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"'
# msbuildArguments: '-p:Configuration=Release -p:Platform=x64' # msbuildArguments: '-p:Configuration=Release -p:Platform=x64'
# msbuildArguments: '-p:Configuration=Release -p:Platform=x86' # msbuildArguments: '-p:Configuration=Release -p:Platform=x86'