Visual Studio must be run as administrator if it is to work properly e.g. if you are using IIS to debug.
To ensure it always does:
Windows 8+
For the following files carry out the method below:
To open project and solution files as admin:
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\vslauncher.exe
To open program itself (e.g. via shortcut)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
Windows Pre 8
To ensure it always does:
Windows 8+
For the following files carry out the method below:
To open project and solution files as admin:
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\vslauncher.exe
To open program itself (e.g. via shortcut)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
- Run Troubleshoot Compatibility
- Select manual Program compatibility
- The program requires additional privileges
- Test select ok
Windows Pre 8
- Go to the program file at:
C:\Program Files\Microsoft Visual Studio\Common7\IDE\devenv.exe - Right click on the file and select Properties/Compatibility tab
- Optionally click on “Change settings for all users"
- Select ‘Run this program as administrator’.
No comments:
Post a Comment