开发者

C# compiler options - embedding manifest file

I have found that it is possible to embedd manifest f开发者_如何学JAVAile (added to resources) with Compiler option /win32manifest. I am trying to find compiler options in VS express but I cannot see it. Could you please help me? Thanks


I don't have Express handy to check this. But it is not a build option in the retail edition, you add a manifest with Project + Add New Item, Application Manifest File. If you don't see it in the list of item templates, you can add it by hand after building with the mt.exe tool from the Windows SDK. Get basic command line syntax help with mt.exe /? You'll need to use resource ID #1 for a .exe.

Beware that VS2008 already adds a manifest to keep the .exe compatible with Vista UAC. Your replacement manifest should contain the <requestedExecutionLevel> element.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜