-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Microsoft Visual Studio Installer Projects" Extension #1382
Comments
Hello, @softworkz |
@softworkz I'm afraid the new image won't be in the next week, likely the week after. |
After waiting years for this, those few days won't really matter 😆 |
@softworkz good news! The image with MS Visual Studio Installer projects extension is already deployed! Could you check it, please? |
I've checked the availability of this VSIX extension on the |
@andy-mishechkin @miketimofeev Great job! Thanks a lot for making this possible. I was able to successfully build a Visual Studio Solution including a Visual Studio Installer Project ( Instructions1. Don't use the "Visual Studio Build" taskThe name of this task is lying. It doesn't build with Visual Studio but uses MSBuild instead. Unfortunately none of the built-in Azure tasks is able to run a build via devenv.exe. 2. How to Build Instead
3. Copy Files TaskSome of the templates include a copy files task with a Make sure to change this as it won't copy the generated MSI setup (because there is no 'bin' subfolder). That's all. I'm sure this will make a lot of people very happy.. |
I am still not able to get this working on my project. I am getting the error:
Which searching around lead me to this as the best explanation of why: it3xl/MSBuild-DevEnv-Build-Server-Workarounds#1 (comment) Is there any way we can get the |
Just add a "Command Line Script" task before the devenv task:
|
Oh thanks. It looks like the |
I am using a command line but getting this error for all .modelproj: |
Would be nice if this was done on Windows-2022 as well |
Hey @DavidStrickland0! |
Hi, great work, could you publish an example azure-pipelines.yml to use for building vdproj on azure pipelines? thanks! |
.vdproj projects are not MSBuild projects, which means need to do an IDE build calling devenv.exe. There's an extension on the marketplace for this. |
i thought this issue is about adding such extension to windows-2019 image for MS hosted agents? |
Correct. Sorry for the confusion. What I meant above is an Azure DevOps extension on the Azure DevOps MarketPlace. |
You might also need to run this CMD script before: steps:
- script: |
echo Executing DisableOutOfProcBuild
DisableOutOfProcBuild.exe
workingDirectory: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild'
displayName: 'Command Line Script'
Background: it3xl/MSBuild-DevEnv-Build-Server-Workarounds#1 |
Apologies if this is off topic, but I'm getting started with GitHub Actions/CI/Workflows and am confused about how Azure Pipelines translate over to the former, if at all. Can someone provide a short example of how one utilizes this .vdproj/devenv build feature from the perspective of a GitHub workflow .yaml? |
Tool information
Area for Triage: Visual Studio
Question, Bug, or Feature?: Tool Request
Virtual environments affected
Can this tool be installed during the build?
AFAIK, no. Otherwise it would still be convenient to have this by default.
Tool installation time in runtime
It's just 5 MB, so < 1min
Are you willing to submit a PR?
You'll know better how to install a VS extension inside your image generation ecosystem.
The text was updated successfully, but these errors were encountered: