Debugging with Visual Studio 2012, Windows 8, and User Account Control

First of all, it's all about RTM versions. And Windows 8 has some changes regarding UAC, as we all learned from http://www.brianbondy.com/blog/id/140/ , it cannot be disabled without side effects.

Now the problem begins: Our main application requires elevated privileges (at least part of the server). Debugging will only work when starting VS in enhanced security mode. But when I run the Silverlight project in VS speed mode, IE launched for debugging starts as with normal privileges, and debugging is also impossible. To complicate the situation, we do not run solutions with all loaded (700+) projects, but we do a lot of our dev-stuff (compilation, launch, testing) on ​​the command line. Which should be promoted, too.

What is the correct UAC configuration for this purpose: I want to be able to debug Silverlight applications running in Internet Explorer, any type of application launched by VS "F5", a server process launched from the command line and (possibly) C # / XAML Metro-Apps?

On Windows 7, it just turned off UAC and everything is fine. Now it seems to me that I am struggling with my own set of tools and have a bad attitude towards this.

And please do not tell me that UAC is important and useful. I totally agree with that, but for the developer, things are a little different.

+5
source share
2 answers

See this answer on Superuser :

The only way I know about ensures that it always opens as Administrator (including when you open files from associations, go through the list, etc.):

  • Locate the file devenv.exein explorer, for example my is inC:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\

  • Right-click the devenv.exe file and select "Compatibility Troubleshooting"

  • " "

  • " "

VS, "", .

, . , Microsoft Windows 8 ...

+6

VSCommands Always start Visual Studio with elevated permissions? , , , .

, , , , Visual Studio , Visual Studio, . UAC.

UAC . . , Microsoft Win8 + VS2012 , , .

+1

All Articles