Build merge module without Devenv from .vdproj

五迷三道 提交于 2019-12-05 08:34:16

MSBuild doesn't support Visual Studio deployment projects, my advice would be to bite the bullet and go with Wix.

Perhaps VS2010 will use MSBuild schema for vdproj files? I'm guessing no, but couldn't find any links.

currently, it is not possible to do this with msbuild. but i am pretty sure you might be interested in this MSDN blog article because of your question related to merge module/setup projects in vs. It seems they won't continue to support .vdproj files in upcomming versions of visual studio (2010 will be the last supporting them).

So you may run into problems in the future even if you're using devenv instead of msbuild.

... but this article could be some kind of whispering, too. Anyway, there are a lot of alternatives on the road if you want to build setups.

Vivek Raj

Even I was facing the same issue. Use below format

call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"

cd /d Path_to_sln

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" "Required_path\solution.sln" /Project "Required_path\Setup\Setup.vdproj" /Build Release /Out "Required_Path\vs_errors.txt"

I would be pretty surprised if you are able to build .vdproj files without installing Visual Studio.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!