How to force a Solution file (SLN) to be opened in Visual Studio 2013?

前端 未结 6 763
予麋鹿
予麋鹿 2020-11-27 14:57

Trying to open a VS 2012 solution (SLN file) explicitly in VS 2013 succeeds. Simply double-clicking it in Windows Explorer still opens it in VS 2012 instead.

I\'ve r

6条回答
  •  悲&欢浪女
    2020-11-27 15:12

    To solve this issue I just changed the following lines of the .sln file:

    Microsoft Visual Studio Solution File, Format Version 11.00
    # Visual Studio 2010
    

    into these:

    Microsoft Visual Studio Solution File, Format Version 12.00
    # Visual Studio 2013
    

    The comment line is to be changed as it is parsed by the solution loader.

提交回复
热议问题