changeing ExecutionLevel in 2008
I'm trying to manifest a project to require elevated privilges using the VS2008 Manifest tool, in project->properties->Manifest tool-> input and output->Additional Manifest Files i add my manifest file $(projectName).exe.manifest
<assembly>
<trustInfo xmlns="urn
</
assembly>
when i try to build the project i get:
manifest authoring error c1010001: Values of attribute "level" not equal in different manifest snippets.
which if i click on brings me to a compiler genarated manifest file where the requestedExecutionLevel is 'asInvoker', how do i get the compiler to use the level i specify?
Thanks
Hi phil,
I'm somewhat new to this, but I think that the settings in 'Configuration Properties->Linker->Manifest File' may be your solution. The 'UAC Execution Level' I think sets this for you in the generated .manifest file, and that by changing that to 'requireAdministrator' in the pulldown will get you the result you want...I think...but not sure...
Good luck!
-T.