xObay
Posts: 21
Joined: Sat Jan 06, 2024 4:56 pm

Resources referred by the project are missing

Sat Jan 06, 2024 5:17 pm

Hello,

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'
Attachments
azure-pipelines.txt
(1.97KiB)Downloaded 173 times
AdvancedInstallerBuildError.txt
(80.57KiB)Downloaded 142 times

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Resources referred by the project are missing

Tue Jan 09, 2024 3:37 pm

Hello,

The error message suggests the fact that some of the resources referenced in your project are missing - this usually means that the resources can not be found at the path specified in the project.

Please double check the paths to the files and make sure they are correct.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”