如何将嵌入式清单清单移动到外部.manifest文件? [英] How do I move an embedded manifest to external .manifest file?

查看:67
本文介绍了如何将嵌入式清单清单移动到外部.manifest文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的C#应用​​程序,该应用程序具有嵌入到exe中的清单文件.如何更改此设置以使用将包含在setup.msi中的外部清单?

I have an existing C# application that has a manifest file which is embedded into the exe. How do I change this to use an external manifest that will be included in the setup.msi?

我只能看到(在项目属性"中)用于创建没有清单的应用程序或嵌入清单的选项.

I can only see options (in the Project Properties) to create the application without a manifest, or to embed one.

推荐答案

在解决方案资源管理器中,尝试将清单的生成操作"更改为内容".

In solution explorer, try changing the Build Action for the manifest to Content.

这篇关于如何将嵌入式清单清单移动到外部.manifest文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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