C # When debugging, I get: "The requested operation needs to be promoted" why? Yesterday was good!

FROM#

When I try to debug my program today, I get: "The requested operation needs to be elevated" (Vista, of course). Why today? I haven't changed anything to read / write to the registry or hard drive, where should I look?

thank

+1


source to share


2 answers


If this is just a Visual Studio complaint (and not an underlying security issue in your code), you can configure Visual Studio to automatically start as admin .



+1


source


Just compiled the exe and now the exe needs elevation outside VS! The only interaction with the local PC is reading from the user part of the registry, but that was a few days ago when it was running without elevation.



thank

0


source







All Articles