简体   繁体   English

将VS2013和VS2010与TFS2010一起使用

[英]Using VS2013 and VS2010 with TFS2010

We currently have TFS 2010 and mostly work with VS2010. 我们目前拥有TFS 2010,并且大多数情况下都与VS2010一起使用。 We're gradually starting to use VS2013 with the Express version. 我们逐渐开始将VS2013与Express版本一起使用。

How come when I open the Source Control Explorer in VS2013, everything shows as "Not Mapped" even though it IS mapped? 当我在VS2013中打开“源代码控制资源管理器”时,即使已映射,所有内容都显示为“未映射”呢? When I try to map something, it gives me "The path X is already mapped in workspace Y" 当我尝试映射某些内容时,它给我“路径X已在工作空间Y中映射”

I can't open anything from the Source Control Explorer since it prompts to map, but I manually open the project from the local folder, and see the little lock and + symbols in the solution explorer. 我无法从Source Control Explorer中打开任何内容,因为它会提示要映射,但是我从本地文件夹中手动打开了项目,并在解决方案资源管理器中看到了小锁和+符号。 I can even do check-ins and undos. 我什至可以办理登机手续和撤消手续。

Check that source control explorer is connected to the same workspace as VS2010 by looking at the workspace drop down at the top of SCE. 通过查看SCE顶部的工作区下拉列表,检查源代码管理资源管理器是否与VS2010连接到相同的工作区。 If your VS2010 workspace is a server workspace, and you created a new local workspace in VS2013 you'll see two workspace names showing. 如果您的VS2010工作区是服务器工作区,并且您在VS2013中创建了新的本地工作区,则将看到两个工作区名称。

Also, when you open an existing solution in Visual Studio, if that solution is in a workspace different than the one source control explorer is currently showing, SCE doesn't switch over automatically. 另外,当您在Visual Studio中打开现有解决方案时,如果该解决方案所在的工作区与当前显示的一个源代码管理资源管理器不同,则SCE不会自动切换。 You have to do it manually, again via that workspace drop down. 您必须再次通过该工作区下拉菜单手动进行操作。

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

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