2

My team uses a Team Foundation Server (TFS) to house code for multiple websites and custom libraries shared by all of those websites. For our newest website, we work in VS2013, but one older website has compatibility issues unless you open it in VS2010. Generally, this is fine.

Recently, however, I ran into source control issues that I realized was the result of accidentally adding a .csproj from my VS2013 workspace into the old website's .sln in VS2010.

While I was eventually able to sort out this discrepancy, I'm curious if there is a way to, or a reason to, combine or associate my VS2010 workspace and my VS2013 workspace seeing as they are both representing the same branch on our TFS?

Disclaimer: I am new to TFS, .NET and Visual Studio so please quietly disregard this question if it's dumb.

4

1 回答 1

1

对于您的问题,公认的解决方案是分离而不是合并。如果您将共享代码提取到单独的解决方案并将其内置到 Nuget 包中,那么您会从 2010 年和 2013 年引用该包。

然而,随着下个月 Visual Studio 2010 退出主流支持,您还应该解决兼容性问题。

于 2015-06-02T05:24:46.277 回答