VS2010 和 VS2008 组合在一起
我在一个团队中,所有成员的机器上都安装了VS2008,我们有tortois svn作为源控制系统。 有没有一个解决方案可以让我在机器上安装 VS2010 的情况下使用它们?或者我必须安装VS2008才能与其他成员一起工作? 谢谢。
I'm in a team that all members have VS2008 installed on their machine, we have tortois svn as source control system.
Is there a solution that I can work with them with VS2010 installed on my machine? Or I have to install VS2008 to work with the other members?
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您将需要使用 VS2008 来处理 VS2008 项目。
You will need to use VS2008 to work with VS2008 projects.
团队的不同成员可以使用不同版本的 Visual Studio,但仍以相同的 .csproj 项目为目标。不幸的是,他们需要不同的 .sln 文件——两个字符的差异,Visual Studio 就会崩溃。请参阅 http://robrich.org/archive/2010/04/20/working-with-both-vs-2010-and-2008-on-the-team.aspx 的工作示例。
Different members of the team can use different versions of Visual Studio and still target the same .csproj projects. Unfortunately, they'll need different .sln files -- 2 character difference and Visual Studio freaks out. See http://robrich.org/archive/2010/04/20/working-with-both-vs-2010-and-2008-on-the-team.aspx for a working example of this.
我听说 VS2010 和 VS2008 在项目文件方面表现不佳,但我知道我已经能够在 VS2010 中打开一些项目,然后在 VS2008 中再次打开(尽管是自定义 .proj 文件,所以 YMMV)。与 Visual Studio 的所有后续版本一样,您可能需要为这两个版本提供单独的解决方案文件,并且每个解决方案只能包含相同的项目,例如:
VS2010 也可能会通过以下方式向项目文件添加一些垃圾:默认情况下,这让 VS2008 有点窒息,但你总是可以手动编辑项目文件来清除它。我建议尝试一下示例项目,看看兼容性如何。
I've been hearing that VS2010 and VS2008 don't play nicely in terms of project files, but I know I've been able to open some projects in VS2010 and then again in VS2008 (custom .proj files though, so YMMV). As with all successive versions of Visual Studio, you're probably going to need separate solution files for the two though, and each solution can just include the same projects, e.g.:
It's also possible that VS2010 will add some junk to the project file by default which makes VS2008 choke a little, but you can always edit the project file manually to clear it out. I'd recommend giving it a shot with a sample project and see how well the compat works out.