Visual-Studio-2010 – Parallel Visual Studio installation and file association

I have been working with VS10 for many years. Yesterday I installed VS12 side by side with the old version. Now I noticed some file associations are inconsistent. The project is opened by the version selector, and the C file of VS10 is The FSX file of VS12 opens, more of this confusion. Everything is a bit random, I want to map everything to VS12 while still installing VS10, because I use XNA, you know that VS12 does not officially support XNA.

< /p>

Searching for SO shows that I only need to go to Options>General>Restore File Associations, but it is now called Manage File Associations, and the control panel is opening, let me choose every available format of VS I want:

I can check the checkbox to select all available formats but…I don’t like this idea because it might break something.

Is there any good suggestions for me The suspicion is wrong-but how should I manage the association without destroying anything?

This is a very basic limitation of how file associations work in Windows. Click the solution Or project files, it can work well. They are associated with a small utility called VSLauncher.exe. Look for the format version in the file to know which version of VS to start.

< p> The same trick does not apply to source code files such as .cpp or .cs files. There is not enough information in the file to reliably select the VS version. It is just code, most of which can be correct on any latest VS version Compile. So it is only associated with the last version of VS you installed.

I have been working with VS10 for many years, and yesterday I installed VS12 side by side with the old version. Now I Noted that some file associations are inconsistent. The project is opened by the version selector, the C file of VS10 and the FSX file of VS12 are opened, more of this confusion. Everything is a bit random, I want to map everything to VS12 while still installing VS10 , Because I use XNA, you know that VS12 does not officially support XNA.

Searching for SO shows that I only need to go to Options>General>Restore File Association, but it is now called Manage File Association, The control panel is opening, let me choose every available format of VS I want:

I can check the checkbox to select all available formats but… I don’t like this idea because it might Destroy something.

Are there any good suggestions if my suspicions are wrong-but how should I manage the association without breaking anything?

This is a very basic limitation of how file associations work in Windows. When you click on a solution or project file, it works well. They are associated with a small utility called VSLauncher.exe. Look for the format version in the file to know which version of VS to start.

The same trick does not apply to source code files, Such as .cpp or .cs files. There is not enough information in the file to reliably select the VS version. It is just code, most of which can be compiled correctly on any latest VS version. So it only matches the VS version you last installed Relevant.

Leave a Comment

Your email address will not be published.