I\'m running Visual Studio 2008 on Windows 7 64-bit. I\'m logged in as administrator, and I\'m running it as administrator, but the program I\'m working on fa
I found the answer. It turns out that it is, in fact, a manifest issue: by default if you have a manifest you need to set the appropriate administrator privilege.
The default is asInvoker
, but that doesn't work if you need elevated privileges; you instead have to set it to requireAdministrator
in the manifest properties.