Installer Package (MSI) not generated using devenv command

Katte sang 21 Reputation points
2022-10-18T07:18:08.933+00:00

I am working on .net 3.5 windows applications. When I build the applicaiton from VS IDE, I am able to generate the .msi file. But when I am using devenv command, it was not generated. Below is the command I am using it from command prompt. Please anyone let me know how to fix it.

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" "D:\Projects\MySolution\MySolution.sln" /Rebuild

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,010 questions
{count} votes

Accepted answer
  1. RLWA32 40,286 Reputation points
    2022-10-18T11:03:31.36+00:00

    There is a utility (DisableOutOfProcBuild.exe) that sets a registry key in HKCU that enables devenv to succcessfully build an installer project from the command line. See below for the use of this utility and a successful command line build.

    251543-installersuccess.png

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful