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

wow0609
  • 449
  • 4
  • 8

3 Answers3

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.

Christoph
  • 1,964
  • 2
  • 27
  • 44
  • 1
    This did not fix it for me. I had a new line before the line above, but removing it did not change anything. – mrtumnus Sep 30 '16 at 12:23
  • Don't forget to save the file with `CRLF` (Windows style line endings) not just `LF` (Unix style line endings). – Jesse Chisholm Jul 07 '17 at 16:21
  • 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. – Martin Ba Oct 03 '18 at 09:41
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.

GrayDwarf
  • 2,469
  • 2
  • 20
  • 22
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.

Luke Fan
  • 143
  • 1
  • 10