且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio 2013和TFS Build 2015:Devenv.exe无法生成MSI文件

更新时间:2023-11-22 10:48:28

问题已解决,一切都已成功构建.在查看用于TFS Build 2013的构建代理与用于TFS Build 2015的构建代理之间的设置之间的区别时,我做得还不够好.

Problem solved, and everything is now building successfully. I did not do a good enough job of looking at the diff between the setup we had on the build agent we used for TFS Build 2013 vs. the one we set up for TFS Build 2015.

首先,为了能够在VS 2013中构建安装项目,需要安装

Firstly, to be able to build setup projects in VS 2013, one needs to install the Visual Studio 2013 Installer Projects extension on the build agent.

但是,此扩展存在一些错误,这些错误通常会导致建筑安装项目产生以下错误消息:"验证时发生错误.HRESULT ='8000000A'".可以通过修改注册表来解决此错误,如此SO帖子中所述.

However, there are some bugs with this extension that often causes building setup projects to yield the following error message: "An error occurred while validating. HRESULT = '8000000A'". This error can be fixed by modifying the registry, as described in this SO post.

但是,使用devenv.exe构建安装项目仍然无法正常工作.我还无法弄清楚为什么.

Building the setup projects using devenv.exe, however, still doesn't work. I have not been able to figure out why, yet.