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.
Hello, @softworkz
I've added MS Visual Studio Installer projects extension to Windows image deployment.
It will be there about on the next week.
If you'll not find it - feel free to ping me
Thank you
Hi @andy-mishechkin,
this is really great news!
To be honest, I didn't have high hopes for this, as it is a long-standing and frequently requested topic. Here's just a quick compilation of user questions and issues which will be all resolved by this change:
Thank you very much for making this happen!
@softworkz I'm afraid the new image won't be in the next week, likely the week after.
@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 馃槅
Thanks for letting me know!
@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 windows-latest runner - "Microsoft Visual Studio Installer Projects" extension is present
@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 (vdproj) with an Azure Build Pipeline on an Azure hosted build agent.
The 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.
Solution / ProjectProject emptyConfiguration: ReleasePlatform: Any CPUDeploy: UncheckedClean: CheckedSome of the templates include a copy files task with a Contents parameter similar to **\bin\$(BuildConfiguration)\**
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:
ERROR: An error occurred while validating. HRESULT = '8000000A'
Which searching around lead me to this as the best explanation of why:
https://github.com/it3xl/MSBuild-DevEnv-Build-Server-Workarounds/issues/1#issuecomment-386780313
Is there any way we can get the DisableOutOfProcBuild command ran in the base image or the EnableOutOfProcBuild registry key added manually? I seems like I cannot cd out of the workspace folder to go run the command at build time.
Just add a "Command Line Script" task before the devenv task:
DisableOutOfProcBuild.exeC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuildOh thanks. It looks like the working-directory param was what I was missing. I was trying to cd out of the workspace and it would not let me. It seems you are jailed to the working directory. At least for Github actions.
I am using a command line but getting this error for all .modelproj:
Dise帽o\AccesoDatos\AccesoDatos\AccesoDatos.modelproj:聽The application which this project type is based on was not found. Please try this link for further information:聽https://go.microsoft.com/fwlink/?LinkId=660952&projecttype=F088123C-0E9E-452A-89E6-6BA2F21D5CAC
Most helpful comment
After waiting years for this, those few days won't really matter 馃槅
Thanks for letting me know!