[英]How to stop visual studio 2013 to change .sln version
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. 我有一个使用Visual Studion 2013进行工作的C#项目,该项目是使用Visual Studio 2010创建的,并且整个项目都位于本地服务器上,并且我正在使用Team Explorer进行访问。
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. 问题是,如果我对项目进行更改并将解决方案(.sln)签入服务器,并且使用Visual Studio 2010的同事尝试打开解决方案,他们将收到一个错误,指出该解决方案已创建使用Visual Studio的较新版本。
is there any way to force visual studio 2013 to not change the version number in the solution file? 有什么方法可以强制Visual Studio 2013 不更改解决方案文件中的版本号? so even though i make changes to the solution the version will not change?
因此,即使我对解决方案进行了更改,版本也不会更改?
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. 感谢您的帮助,我最终创建了解决方案文件的副本,因此我将拥有2个.sln文件,每个版本一个。 not the best solution i hoped for but it'll have to do.
不是我希望的最佳解决方案,但必须这样做。 thanks.
谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.