How to build .vdproj in Azure DevOps pipeline

Viewed 44

I am using windows self hosted agent with VS 2019 build tools installed. But in the build pipeline, I am unable to build ".vdproj" (.net framework 3.5) project. Please let me know whether installing of visual studio is the only option or any alternative approach available.

Thanks.

1 Answers

To build the .vdproj project, you will have to use devenv command to build the project.

Devenv.exe is the central Integrated Development Environment (IDE) for Visual Studio.

So you need to install the Visual Studio to get the Devenv.exe to build the project.

In Azure DevOps, you can add the Command Line Task and run the following command to build the .vdproj project.

For example:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.exe" MyProjectDir\MySolution.sln /Rebuild Release
Related