C++ projects have a linker option to embed manifest to require UAC elevation (/MANIFESTUAC:level) .
Is there any such option for .net projects?
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.