How to remove manifest from precompiled dll
1 answer
Unfortunately, the standard mt.exe tool for working with manifests that comes with VS cannot remove them. But if you are familiar with C ++, it is fairly easy to write your own tool for this purpose.
You just need to call BeginUpdateResource with the given dll name, then UpdateResource with lpData = NULL and cbData = 0 to remove the given resource type (RT_MANIFEST) and EndUpdateResource to commit the changes.
+4
source to share