项目未在 Visual Studio 2013 中显示为已签入到 TFS [英] Project not showing as checked-in to TFS in Visual Studio 2013

查看:42
本文介绍了项目未在 Visual Studio 2013 中显示为已签入到 TFS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS2013 的解决方案文件夹中添加了一个新项目.我通过源代码管理资源管理器将项目添加到 TFS,但在 VS 解决方案资源管理器中,项目旁边的小锁图标没有显示.我刚刚将解决方案下载到了一台新计算机上,但该项目没有被下载.我必须进入源代码管理资源管理器并明确获取它.该解决方案只是无法将其识别为受源代码控制...

I added a new project to a Solution Folder in VS2013. I added the project to TFS via Source Control Explorer but in VS Solution Explorer the little lock icon next to the project is not displayed. I just downloaded the solution to a new computer, and that project did not get downloaded. I had to go into Source Control Explorer and explicitly get it. The solution just does not recognize it as under source control...

我该如何纠正?

感谢任何帮助

推荐答案

您可能需要将项目绑定到源代码管理.

You probably need to bind the project to source control.

  • 在 Visual Studio 中打开项目.
  • 文件 > 源代码管理 > 高级 > 更改源代码管理(或者您可能会发现只有一个选项,例如文件 > 源代码管理 > 添加到源代码管理 - 我不记得具体是什么样子了)
  • 如果您进入更改源代码管理"对话框,请选择列表中的所有项目并单击绑定.如果这有效,您应该在已连接"列和有效"状态中打勾,然后您可以确定对话框,您的项目应该很顺利.如果绑定失败,则解除所有绑定并再次尝试绑定.
  • Open the project in Visual Studio.
  • File > Source Control > Advanced > Change Source Control (or you might find there is only an option like File > Source Control > Add to Source Control - I can't remember exactly what this looks like)
  • If you get to the Change Source Control dialog, then select all the projects in the list and click Bind. If this works you should have a tick in the "Connected" column and "Valid" status, and you can OK the dialog and your project should be good to go. If binding fails, then Unbind everything and try binding again.

这篇关于项目未在 Visual Studio 2013 中显示为已签入到 TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆