I am working on a .NET ADX COM Add-in project and need to deploy it using Azure DevOps. I’m having trouble figuring out the correct steps to ensure that the Add-in Express (ADX) dependencies are included in the build pipeline and properly installed on the build agent. Could someone provide a detailed guide on how to achieve this?
Here’s what I have so far:
Project Details:
.NET ADX COM Add-in project
Dependencies include Add-in Express for .NET
Pipeline Configuration:
Using Azure DevOps with a windows-latest hosted agent
Basic pipeline setup for building .NET projects
Issues Encountered:
The build pipeline cannot find the Add-in Express DLLs.
Unsure how to ensure Add-in Express is available and correctly configured on the build agent.
Current Pipeline YAML:
yaml
Copy code
trigger:
- feature/my-branch
pool:
vmImage: ‘windows-latest’
variables:
solution: ‘**/*.sln’
buildPlatform: ‘Any CPU’
buildConfiguration: ‘Release’
steps:
-
task: UseDotNet@2
inputs:
packageType: ‘sdk’
version: ‘5.0.x’ -
task: NuGetToolInstaller@1
-
task: NuGetCommand@2
inputs:
restoreSolution: ‘$(solution)’ -
script: |
echo “Listing directories and permissions:”
ls -l
displayName: ‘List Directories’ -
script: |
mkdir C:BuildDependencies
copy “C:Program Files (x86)Add-in ExpressAdd-in Express for .NETBinAddinExpress.MSO.2005.dll” C:BuildDependencies
displayName: ‘Copy Add-in Express DLL’ -
task: VSBuild@1
inputs:
solution: ‘$(solution)’
platform: ‘$(buildPlatform)’
configuration: ‘$(buildConfiguration)’ -
task: VSTest@2
inputs:
platform: ‘$(buildPlatform)’
configuration: ‘$(buildConfiguration)’
uestions:
How can I ensure that Add-in Express is available on the Azure DevOps build agent?
What are the correct steps to include Add-in Express dependencies in the build pipeline?
Is there a recommended approach or best practice for setting up the build pipeline for a .NET ADX COM Add-in project?
Any guidance or examples of a successful pipeline setup for this type of project would be greatly appreciated. Thank you!
Khan Mehnaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.