I'm building a DevExpress WinForms application (Target framework .NET 7.0) and facing the following error when using Azure DevOps pipeline.
I've attached the pipeline and the full error message.
Code: Select all
Failed to execute Advanced Installer task. Error: Build Checking builds status Error: Resources referred by the project are missing:
Code: Select all
trigger:
- main
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@1
displayName: 'Install NuGet CLI'
continueOnError: false
- task: NuGetCommand@2
displayName: 'Restore NuGet Packages'
continueOnError: false
inputs:
command: 'restore'
restoreSolution: '**/*.sln'
feedsToUse: 'config'
nugetConfigPath: 'Nuget.config'
- task: VSBuild@1
displayName: 'Build Solution'
continueOnError: false
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
msbuildArchitecture: 'x64'
- task: DeleteFiles@1
displayName: 'Delete symbol Files'
continueOnError: false
inputs:
SourceFolder: 'xTags\bin\Release'
Contents: '*.pdb'
- task: AdvancedInstallerTool@1
displayName: 'Install Advanced Installer'
inputs:
advinstVersion:
advinstLicense: '$(AI.licenseKey)'
advinstEnableCom: true
- task: AdvancedInstaller@2
displayName: 'Build Setup File using Advanced Installer'
continueOnError: false
inputs:
advinstLicense: '$(AI.licenseKey)'
aipPath: 'Setup/Setup.aip'
- task: AzureFileCopy@5
continueOnError: false
displayName: 'Copy setup file to Azure storage blob'
inputs:
SourcePath: 'Setup\xTags-AnyCPU_Release-SetupFiles\xTags.exe'
azureSubscription: 'xTools - Azure Infrastructure Subscription(00000000-0000-0000-0000-000000000000)'
Destination: 'AzureBlob'
storage: 'xtags'
ContainerName: 'download'
- task: AzureFileCopy@5
continueOnError: false
displayName: 'Copy updates file to Azure storage blob'
inputs:
SourcePath: 'AI\xTags-AnyCPU_Release-SetupFiles\updates.txt'
azureSubscription: 'xTools - Azure Infrastructure Subscription(00000000-0000-0000-0000-000000000000)'
Destination: 'AzureBlob'
storage: 'xtools'
ContainerName: 'downloads'