C++ projects have a linker option to embed manifest to require UAC elevation (/MANIFESTUAC:level) .
Is there any such option for .net projects?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.