开发者

UAC - embedding manifest for .net

C++ projects have a linker option to embed manifest to require UAC elevation (/MANIFESTUAC:level) .

Is there any such option for开发者_高级运维 .net projects?


If you are using Visual Studio 2008: add an item of type "Manifest file" to your project, then select in on the Project Properties - Application page.

If not, you need to use mt.exe, the Microsoft Manifest Tool. See this article on certifying an application for Windows Vista (written by me, by the way): one of the things it explains is how to embed a manifest file on a Visual Studio 2005 solution, you could use the same approach for other environments as well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜