Your official information source from the .NET Web Development and Tools group at Microsoft.
I've seen user reports in several forums, where two instances of Internet Explorer get launched when doing F5, CTRL+F5, or View in Browser in Visual Studio 2005 running on Windows Vista.
If you are encountering this issue, taking the following two steps should fix it:
However, as you will soon realize, its very easy to forget to do this everytime you start Visual Studio 2005. Luckily, there is a handy way in Windows Vista to always force Visual Studio 2005 to start with elevated administrative rights. The following steps describe how to set this up:
1. Right click on Visual Studio 2005 shortcut in the Start Menu and select Properties: 2. On the Compatability tab choose "Show settings for all users" button: 3. In the dialog that is launched, check the "Run this program as an administrator" item:
1. Right click on Visual Studio 2005 shortcut in the Start Menu and select Properties:
2. On the Compatability tab choose "Show settings for all users" button:
3. In the dialog that is launched, check the "Run this program as an administrator" item:
For those Visual Studio web developers out there using Windows Vista this tip should make the experience mostly pain-free!
Cheers,
-- Omar Khan (Group Program Manager, WebTools Team)
Hi,
i think you should make it VERY EXPLICIT that an elevated VS is only needed for stuff like debugging ASP.NET apps (when run in IIS).
Generally you DON'T NEED an elevated VS (console, winforms apps, cassini etc)....
You are Microsoft. Think least privilege. Better live it!
cheers
dominick
Thank you Dominick for the comment.
The specific issue mentioned in this blog -- two instances of IE getting launched on F5, CTRL+F5 occurs both when using IIS, or the built in development server (aka - cassini).
Installing the VS Vista Update, and running VS 2005 elevated is the only solution to this issue.
You are right however, in the statement that other activities in VS 2005 like building and debugging a console or windows forms apps can be done successfully w/o needing to elevate VS 2005 permissions.
Hope this helps clarify.
--Omar
I recently posted some tips about how to have success doing web development with Visual Studio 2005 on