“不可恢复的构建错误"在任何 MSI 安装项目上 [英] "Unrecoverable build error" on any MSI Setup project

查看:19
本文介绍了“不可恢复的构建错误"在任何 MSI 安装项目上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前段时间我在构建任何 Visual Studio 部署项目时遇到此错误.

Some time ago I got this error when building ANY Visual Studio Deployment project.

不可恢复的构建错误"

我以为我的 VS 安装已损坏或我删除了一些重要文件,但是...

推荐答案

...我所要做的就是.

...all I had to do was.

关闭 Visual Studio.

Close down Visual Studio.

开始,运行或WIN+R,输入cmd,确定.

Start, Run or WIN+R, type cmd, OK.

regsvr32 "C:Program FilesCommon FilesMicrosoft SharedMSI Toolsmergemod.dll"
regsvr32 ole32.dll

对于 x64 位机器

regsvr32 "C:Program Files (x86)Common FilesMicrosoft SharedMSI Toolsmergemod.dll"
regsvr32 ole32.dll

警告:您必须管理模式下运行命令提示符!

Warning: you MUST run the command prompt in Admin Mode!

关闭命令提示符.

打开 Visual Studio 并尝试重建您的部署项目!它对我有用!

Open up Visual Studio and try rebuilding your deployment project! It worked for me!

这篇关于“不可恢复的构建错误"在任何 MSI 安装项目上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆