How do I add versions to “Visual Studio Version Selector”, my list is empty
Asked Answered
H

3

8

I have VS 2008, 2010, and 2012 installed.

Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that.

Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows.

How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string.

Empty VSSelector

Hedvige answered 14/12, 2014 at 18:12 Comment(0)
T
1

I just encountered the same issue after installing Visual Studio 2015 parallel to an existing 2013 installation. In my case it turned out that that the problem was related to the solution file itself: It seems that the version selector does not like BOMs etc. (don't know how the solution got crippled, though). Make sure that the solution starts with

Microsoft Visual Studio Solution File, Format Version 12.00

and has no space, non-printable character etc. before that. After saving the file, the effect should be immediately visible with the correct icon returning.

Tella answered 23/12, 2015 at 14:59 Comment(3)
This did not fix it for me. I had a new line before the line above, but removing it did not change anything.Isocracy
Don't forget to save the file with CRLF (Windows style line endings) not just LF (Unix style line endings).Improvised
I'll add: Have same problem as OP - my VS2017 Version selector doesn't work either. No BOM, all CRLF, list is still empty. Personally I'd file this answer under "red herring", but maybe it helped for some.Pathetic
P
0

I just ran into a similar problem where this dialog started popping up after a recent Windows Update (Win10) on 1/6/2018. That update caused all sorts of havoc in terms of broken file associations.

I tried searching for solutions and trying a few things but everything was overly complicated and messy.

My solution was to run the Visual Studio (2013) repair.

After the repair, I did receive a warning (from vs installer) about update 3 failing to update but I restarted the computer and sln files can now open without needing that version dialog. Everything seems to be compiling and running fine as well.

Pictogram answered 7/1, 2018 at 19:22 Comment(0)
D
0

Just ran into this situation for VS2017 then I realized I have unfinished updates for Visual Studio when checking Visual Studio Installer.

The installer displayed a hint that I should restart my computer to complete the update and after doing so, the version selector works again.

Davidoff answered 29/5, 2019 at 8:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.