Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSLauncher starts wrong version

I have 3 versions of Visual Studio installed, and 3 projects that require a specific version. VSLauncher USED to look at the SLN or VCPROJ file and open the correct version of Visual Studio. Now it only starts the most recent version, regardless of the project.

Note that this has nothing to do with the commonly reported problem with beta versions of VS. none of the SLNs have ever been touched by a beta VS.

like image 498
Matthew Scouten Avatar asked May 10 '10 17:05

Matthew Scouten


People also ask

Where is VSLauncher EXE?

"C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\\VSLauncher.exe" "%V" source:ExplorerBackground.

How do I open Visual Studio selector?

If you want to open . sln file with Visual Studio 2022 Pro version, you can select Start > Settings > Apps > Default apps > Choose default apps by file type. Then, you can navigate to . sln file and select the stable Visual Studio version you want to open with.

What are the versions of Visual Studio?

There are three editions of Visual Studio: Community, Professional, and Enterprise. See Compare Visual Studio editions to learn about which features are supported in each edition.


1 Answers

I had this same issue. VS 2008 solutions opening in VS2010 when double clicked. This problem went away after first going into VS 2008 and using 'Restore File Associations' then right clicking on a 2008 solution file and choosing open with and pointing it to Version Selector. Prior to this they invariably opened in 2010. Very frustrating. Hope this helps.

Tools | Options | Environment | (big button marked Restore File Associations
like image 82
davemc Avatar answered Sep 19 '22 18:09

davemc