1

i have a C# project that i work on using visual studion 2013, the project was created with visual studio 2010, and the entire project is located on a local server and i am using Team Explorer to access it.

the problem is that if i make changes to the project and check-in the Solution (.sln) to the server, and my co workers, that use visual studio 2010, try to open the solution they get an error that the solution was created with a newer version of visual studio.

is there any way to force visual studio 2013 to not change the version number in the solution file? so even though i make changes to the solution the version will not change?

Gerald Versluis
  • 30,492
  • 6
  • 73
  • 100
Meydanb
  • 109
  • 1
  • 12
  • 1
    Duplicate of http://stackoverflow.com/questions/1026239/how-can-i-stop-visual-studio-automatically-upgrading-projects ? – Ulric Sep 07 '15 at 13:29
  • 1
    Or don't check in the solution file. – lc. Sep 07 '15 at 13:32
  • 2
    Basically you can't, all developers working on a given project/solution have to use the same version of VS. You can have 2 copies of all the projects/solution files, but the any changes you make like adding/removing/moving files will only reflect in the version of VS you make the change in. – Ben Robinson Sep 07 '15 at 13:33
  • As lc & Ben have said, do not check in the soln file, or atleast the line(s) where it changes the VS version in the file. – Arghya C Sep 07 '15 at 13:34

1 Answers1

0

thanks for the help guys, i just ended up creating a copy of the solution file so i'll have 2 .sln files, one for each version. not the best solution i hoped for but it'll have to do. thanks.

Meydanb
  • 109
  • 1
  • 12