Running Extensions on Windows Vista

Both Visual Studio and the Visual Studio SDK can be installed on Windows Vista only by a user who has elevated administrative credentials. For more information, see Visual Studio on Windows Vista.

If you do not have elevated administrative credentials when you install Visual Studio, you may have to save Setup.exe to a temporary location and then run it as administrator.

If you do not have elevated administrative credentials before you install the Visual Studio SDK, the setup program will prompt you to run it as an administrator before installation starts.

The devenv.exe command-line switches /installvstemplates and /associatefiles require administrative permissions for correct operation. Invoking these commands without the appropriate permissions could cause data loss.

Open a command window as an administrator and then start devenv.exe with the appropriate command-line switch.

Administrative credentials are not required to develop and run extensions on Windows Vista. You can also deploy .vsix packages without administrative credentials.

You can program an executable file built in Visual Studio 2010 to prompt for administrative credentials by setting the UAC manifest in the portable executable header. For more information, see Windows Vista Application Development Requirements for User Account Control Compatibility on the Microsoft Download Center Web site or Developer Best Practices and Guidelines for Applications in a Least Privileged Environment on the Windows Vista Developer Center Web site.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft