[Bug] Fix Pipeline error NETSDK1047 #108

This commit is contained in:
Markus Hofknecht 2020-06-21 13:31:04 +02:00
parent 87b44cfd23
commit 4edc72c5f7
2 changed files with 7 additions and 3 deletions

View file

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.10.3.1")]
[assembly: AssemblyFileVersion("0.10.3.1")]
[assembly: AssemblyVersion("0.11.0.0")]
[assembly: AssemblyFileVersion("0.11.0.0")]

View file

@ -65,6 +65,8 @@ steps:
inputs:
solution: '**/*.sln'
msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"'
# msbuildArguments: '-p:Configuration=Release -p:Platform=x64'
# msbuildArguments: '-p:Configuration=Release -p:Platform=x86'
#- task: CopyFiles@2
# displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
@ -80,7 +82,9 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive $(Build.ArtifactStagingDirectory)'
inputs:
rootFolderOrFile: '$(Build.SourcesDirectory)\bin\Any CPU\Release\netcoreapp3.1\'
rootFolderOrFile: '$(Build.SourcesDirectory)\bin\AnyCPU\Release\netcoreapp3.1\'
# rootFolderOrFile: '$(Build.SourcesDirectory)\bin\x64\Release\netcoreapp3.1\'
# rootFolderOrFile: '$(Build.SourcesDirectory)\bin\x86\Release\netcoreapp3.1\'
includeRootFolder: false
archiveFile: '$(Build.ArtifactStagingDirectory)/SystemTrayMenu-$(AssemblyInfo.AssemblyVersion).zip'