building .vdproject from powershell script

Viewed 32

I have created a script for building a .vdproject in windows-powershell.

& "C:\VS_Community\Common7\IDE\devenv.exe" "E:\gitdownload\xxx-xxx-plugin-59bee0c0c3ef4279a310e95584ee6297d53106ea\IISPlugin\IISPlugin.sln" /rebuild Release /project "E:\gitdownload\xxx-xxx-xxx-xxx-plugin-59bee0c0c3ef4279xxx\IISPlugin\xxx.HttpModule.IISxxxCollector.Setup\xxx.HttpModule.IISxxxCollector.Setup.vdproj"

However whenever i do so i get an error pop up Error PopUp

I have seen this mentioned here Building setup project (.vdproj) from command line

However trying that by changing my script to:-

& C:\VS_Community\Common7\IDE\devenv.exe "E:\gitdownload\xxx-xxx-xxx-plugin-59bee0c0c3ef4279axxx\IISPlugin\xxx.HttpModule.IISxxxCollector.Setup\xxx.HttpModule.IISxxxCollector.Setup.vdproj" /rebuild "Release|Any CPU"

also didnt fix the issue and i still continue to get the pop up.

To build .vdproject manually in visual studio i have to install Microsoft Visual Studio Installer Projects plugin.However here from powershell i am unable to understand what to do after multiple tries and am stuck at this.

Any Idea?

Edit:-

After @rene suggestion the pop up issue is gone but still running the command doesnt create the files .msi and setup.exe .In Visual studio i have to install InstallerProject extension to build .vdProject in order to get these files.However am at a loss about how to do this via powershell.I am completely stuck after various trials.

0 Answers
Related