简体   繁体   English

如何停止Visual Studio 2013更改.sln版本

[英]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.

相关问题 如何在没有.sln或.csproj文件的情况下在Visual Studio 2013中打开/加载asp.net下载的项目 - How to open/load asp.net downloaded projects in Visual Studio 2013 without .sln or .csproj file 如何在Visual Studio 2013 C#中停止自动完成 - How to stop auto complete in Visual Studio 2013 C# 如何更改 Visual Studio 中所有文件的版本 - How to change the version of all files in Visual Studio 如何在Visual Studio 2015中更改语言版本 - How to change language version in Visual Studio 2015 如何在设计模式下更改 Visual Studio 2013 中的表名? - How to change the table name in visual studio 2013 in design mode? 如何以编程方式在当前打开的Visual Studio IDE中打开.sln文件? - How to open a .sln file in the current open Visual Studio IDE programmatically? 怎么开 <visualStudioProject> Visual Studio 2012中的.sln TXT文件 - How to open <visualStudioProject>.sln TXT file in visual studio 2012 如何在 Visual Studio 2019 中更新 .sln(解决方案)文件 - How to update .sln (solution) file within Visual Studio 2019 OSX 上的 Visual Studio Code 如何导入 sln/csproj 并运行? - How can Visual Studio Code on OSX import sln/csproj and run? 如何在可移动驱动器上的Visual Studio中关闭对.sln文件的加密? - How to turn off encrypting of .sln files in Visual Studio on removable drive?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM