Visual Studio 2015 solutions backwards compatibility with Visual Studio 2013

前端 未结 2 560
傲寒
傲寒 2020-12-02 22:10

It seems that I can open a VS 2013 solution file in VS 2015. I\'ve a few questions regarding backwards compatibility:

  • Can a VS 2013 solution be maintained in V
相关标签:
2条回答
  • 2020-12-02 22:53

    I finally found official docs on files supported when upgrading solutions in Visual Studio in the MSDN article Porting, Migrating, and Upgrading Visual Studio Projects.

    The key takeaway here is in the opening paragraph.

    If you use Visual Studio 2015 together with Visual Studio 2013,Visual Studio 2012 or Visual Studio 2010 SP1, you can create and modify projects and files in any of the versions. You can transfer projects and files among the versions as long as you don't add features that are not supported by one of the versions.

    You can run the same solution in different versions of Visual Studio as long as you don't implement a feature in a higher version that is not supported in a lower version.

    This applies not only to VS 2015-2013 compatibility, but also to VS 2012 and VS 2010 SP 1 as well.


    As a side note, I came across this while trying to open my report projects in VS 2015. The article also gives a breakdown of the compatibility between specific kinds of files between VS versions.

    0 讨论(0)
  • 2020-12-02 23:06

    I feel this is a legitimate question; I've not seen any official information from Microsoft regarding round-tripping solutions between the two IDEs, other than to "assume it works".

    From my personal experience in the last 24 hours, "upgrading" the solution file with VS2015 causes no harm in and of itself; it changes the version number in the solution file and it re-sorts things but it doesn't add/remove anything else.

    It will try and change some csproj files if they are tagged with an older tools version, but things still compile.

    Unfortunately, we have made little progress with VS2015 because we rely on Microsoft fakes for stubs, and there appears to be at least one bug with that tool that is stopping us from continuing (see Visual Studio 2015, Microsoft Fakes and System.Security.Claims.Claim).

    0 讨论(0)
提交回复
热议问题