ISerialized .Net, C#, Scrum and agile software development

10Jun/103

Double-clicking Visual Studio solution files in Windows 7

I guess I am not the only one annoyed by the fact that I could not open Visual Studio by double-clicking a solution file. Finally I looked into this problem and first found a simple, but not satisfying solution:

By setting Visual Studio to not run as an administrator. But if you ever tried running Visual Studio on Windows 7 without admin rights, you know this is not a satisfying solution!

Investigating further, I remembered way back when I converted from VS 2005 that there was another process involved to handle the different installations and solution file versions, namely the VSLauncher.exe, and this is actually the simple solution to all my problem. Set VSLauncher.exe to run as admin, an double-clicking works fine!

VSLauncher.exe is located in:

C:\Program Files (x86)\Common Files\microsoft shared\MSEnv

Right-click and choose Properties -> Compatibility and set "Run this program as an administrator".

 

Posted by Pål Eie

Comments (3) Trackbacks (0)
  1. Nice tip, thanks a bundle!

  2. wow! that save my day

  3. DUDE! You have my every loving appreciation for saving me the headache of trying to figure that out.


Leave a comment

No trackbacks yet.