Will visual studio 2015 projects and solutions be backward compatible with 2013?

我的未来我决定 提交于 2019-12-10 01:02:28

问题


Now that Visual Studio 2015 RC is out, has anyone installed it and opened Visual Studio 2013 projects/solutions?

  • Does it ask the files to be changed?
  • If yes, are the changes it makes backward compatible?

回答1:


Take a look at the Porting, Migrating, and Upgrading Visual Studio Projects article for Visual Studio 2015. All of the various caveats are described there.




回答2:


Not all types of project are supported. I tried the following 4 project types:

  1. Vb.net Class project, OK.
  2. Vb.net Web Services project, OK.
  3. Cordova JS project, not OK, need to migrate manually, by moving the sources from root directory to the www directory and install all API again.
  4. C#.net winform project, OK.



回答3:


Yes, though you sometimes will have to change the version (single number) in .sln file, no other differences found yet.

We resolved this by typically excluding this file from check in and only check it in when there really was a change (added project, ...) - and then to fix the version before checking in. (Different developer machines with different versions of VS.)

See question Visual Studio 2015 solutions backwards compatibility with Visual Studio 2013 and answer https://stackoverflow.com/a/31540590/586754.

(Assuming you are having basic projects that are supported by both versions, like C# and .net framework that is supported by lower version VS.)



来源:https://stackoverflow.com/questions/30097890/will-visual-studio-2015-projects-and-solutions-be-backward-compatible-with-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!