I’m having a hard time trying to open my 0.8.4 projects after installing VS 2015. Now, double clicking on the VS 2012 projects opens it in VS 2015, not in 2012. I created a shortcut for opening VS 2012, pointing to “C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe”, wich used to work, but now it opens VS 2013, wich I had to install too.
How do you deal with different versions of VS? Thanks!
I’m not sure if you know, but you can ask a newer visual studio to use previously installed compiler. So tell VS2015 to compile your 0.8.4 app with VS 2012. The downside though is that if you have a machine with only VS 2012 and you upgrade the project files to VS 2015 on a second machine, it may be a pain to get it to work again.
To change which compiler to use, right click on your project and in properties go to general and change the “Platform toolset” If you have both VS 2012 and 2015 installed, (with 2015 installed after 2012) you should be able to choose the old one instead.
For some reason I got compiling errors with VS 2015. With 2013 it worked, I guess I messed up by intalling 2013 after 2015. Anyway, it would be nice to be able to launch the desired version.
If you want to open a .sln file with a specific version of VS, you can right-click it and choose “Open with.” You should then get a popup window that lets you select which app you want to open your file with.
Another option like @silverbahamut mentioned is to open the project in VS2015, but set it to use an older VS compiler (assuming you have an older version like 2010/2012/2013 installed). Here’s a bit more info:
It doesn’t show for me, only 2013, 2015 and version selector, wich just opens the project in 2015. Anyway, great to know there should be the option and its just my disordered installation. Thanks a lot guys!!