简体   繁体   English

在团队环境中,Visual Studio 2012向后兼容Visual Studio 2010吗?

[英]Is Visual Studio 2012 backwards compatible with Visual Studio 2010 in a team environment

I have read that projects created in Visual Studio 2010 SP1 will need no modifications when opening with VS2012. 我已经阅读到在Visual Studio 2010 SP1中创建的项目在使用VS2012打开时无需修改。

I have a team of about 4 developers, both working on the same project using source control, will it be an issue if say only 1 or 2 of them upgrades to VS2012 first, while the rest still stays on VS2010? 我有大约4个开发人员的团队,他们都使用源代码管理在同一个项目上工作,如果仅说其中的1个或2个首先升级到VS2012,而其余的仍然停留在VS2010上,这会不是一个问题吗?

It should be backward compatible. 应该向后兼容。 Is it guaranteed to be in all circumstances? 是否保证在所有情况下都可以? Well, VS2012 is still pretty new, so your mileage may vary. 好吧,VS2012还是很新的,所以您的里程可能会有所不同。

The documentation may claim that it works. 该文档可能声称它有效。 People may say that they've had no problems with it. 人们可能会说他们对此没有任何问题。 You may even try it on your team and have no problems with it. 您甚至可以在团队中尝试它,而不会遇到任何问题。 But are you willing to bet the stability of the project on it? 但是,您愿意将项目的稳定性押在上面吗?

As you can imagine, there's really no "correct" answer to this question. 您可以想象,这个问题确实没有“正确”的答案。 But some things to consider may be: 但是要考虑的一些事情可能是:

  • Pro: Keeping the code running in a diverse set of tools and environments tends to keep the code nimble, ensuring that it's not relying on the environment too much and is self-sustaining. 优点:保持代码在各种工具和环境中运行倾向于使代码保持敏捷,从而确保其对环境的依赖性不强,并且可以自我维持。
  • Con: Having different setups on developer workstations opens the door wide for "it works on my machine" syndrome. 缺点:在开发人员工作站上进行不同的设置将打开“在我的机器上工作”综合症的大门。

It's your call. 是你的电话。

In my company we 're currently using a mixture or Visual Studio 2010 and 2012 clients for Development, we use Team Foundation Server 2010 for the repositories, we had no problems so far. 在我公司中,我们目前使用混合或Visual Studio 2010和2012客户端进行开发,我们使用Team Foundation Server 2010作为存储库,到目前为止,我们还没有遇到任何问题。

This is just my personal experience, our main solution have about 20 different projects in VB and C# and WebSites, no problems at all. 这只是我的个人经验,我们的主要解决方案在VB和C#和WebSite中有大约20个不同的项目,完全没有问题。

My 2 cents... 我的2分钱

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM