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.
精彩评论