如何删除错误:无法编译msi操作安装程序集 [英] How to remove error: unable to compile msi action install assembly

查看:90
本文介绍了如何删除错误:无法编译msi操作安装程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在InstallAware X3中构建.net项目期间删除无法编译MSI操作安装程序集错误?


我尝试过:



我创建一个包含多个窗体的项目。现在,我必须为此创建一个设置。当我尝试在InstallAware X3中构建我的项目时,它会出现无法编译MSI操作安装程序集之类的错误。如何删除此错误???

How to remove "Unable to compile MSI action install assembly" error during build .net project in InstallAware X3?

What I have tried:

I create one project which contain multiple windows forms. Now, I have to create a setup for that. When I try to build my project in InstallAware X3 it gives error like "Unable to compile MSI action install assembly". How to remove this error???

推荐答案

当您尝试安装非强名称程序集时出现此错误,您是否正在安装任何此类程序集?如果是这样,请尝试暂时将它们从项目中删除。

您只需要用Install Files替换Install Assembly命令。当您未安装到GAC时,这些命令是相同的。并且由于您的程序集名称不强,因此无法将它们安装到GAC
This error come when you are trying to installing non-strongly names assemblies, Are you installing any such assemblies? If so, please try to temporarily remove them from the project.
you just have to replace the Install Assembly commands with Install Files. These commands are THE SAME when you are not installing to the GAC. And since your assemblies are not strong named, you cannot be installing them to the GAC anyways


这篇关于如何删除错误:无法编译msi操作安装程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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