Sunday, May 15, 2016

Run Visual Studio as an administrator all the time

Why is it that right-clicking the Visual Studio icon and then clicking Visual studio opens the application as an administrator (after you configure it this way in the properties window) but right-clicking the Visual Studio icon and then clicking a project doesn't? In Windows 8 and 10 you have to follow a few more steps as defined here (http://stackoverflow.com/questions/9654833/how-to-run-visual-studio-as-administrator-by-default)

Right-click devenv.exe and select "Troubleshoot compatibility".
  1. select "Troubleshoot program"
  2. check "The program requires additional permissions" click "Next", click "Test the program..."
  3. wait for the program to launch
  4. click "Next"
  5. select "Yes, save these settings for this program"
  6. click "Close"