This is similar to How to force a Solution file (SLN) to be opened in Visual Studio 2013? but not the same. I have a bunch of .sln files associated with Visual Studio Version Selector. However, they all contain # Visual Studio 2012
but I would like them to open in Visual Studio 2013 instead. I can open the solution files with the /upgrade
flag as per this link. However, it simply says
This project/solution does not require migration. It will open without modification.
and doesn't change the files, therefore they still open in VS2012. You can explicitly open the solution in Visual Studio 2013 and do a Save As, but this is a very manual process and I have hundreds of solutions. Surely there is a better way than a find/replace in files?