You’ve installed Visual Studio 2005 on Vista and dutifully changed it to run as administrator, like you’re supposed to. And then…
Problem: Visual Studio 2005 solutions no longer open when you double-click them in Windows Vista. In fact, when you double-click nothing happens.
Solution: Change them to open with Visual Studio 2005 directly instead of the vslauncher.exe (which opens up the solution with the correct version of Visual Studio if you have more than one).
Caveat: Only makes sense if you use only Visual Studio 2005.
- Right-click on a solution file.
- Choose “Open With…”
- Choose “Browse…”
- Browse to file “C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe” (or wherever you installed Visual Studio)
- Click “Open” button
- Check “Always use the selected program to open this kind of file”
Now your solutions will load Visual Studio, bring up the UAC prompt, and it all works great.
Check out my latest book, the essential, in-depth guide to performance for all .NET developers:
Writing High-Performance.NET Code, 2nd Edition by Ben Watson. Available for pre-order: