开发者

How do I move an embedded manifest to external .manifest file?

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.


Use the MT utility (part of Visual Studio) to manipulate manifest files.

From the online help:

> To extract manifest out of a dll:
mt.exe -inputresource:dll_with_manifest.dll;#1 -out:extracted.manifest


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜