开发者

UAC - embedding manifest for .net

开发者 https://www.devze.com 2022-12-10 22:23 出处:网络
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

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

精彩评论

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

关注公众号