Source Control Explorer的上下文菜单中没有可用的命令

时间:2023-01-17 00:03:10

I don't know what I've done, but on my TFS source control explorer I have "No commands available" on the context menu! (Panic is setting in)

我不知道我做了什么,但在我的TFS源代码控制资源管理器上,我在上下文菜单中“没有命令可用”! (恐慌正在进入)

From the Team Explorer I can see that am a member of Team Foundation Administrators, and I'm a member of the team project administrators as well.

在团队资源管理器中,我可以看到它是Team Foundation管理员的成员,我也是团队项目管理员的成员。

What would be causing TFS to give "no commands available" on the pop-up context menu?

什么会导致TFS在弹出的上下文菜单中给出“没有命令可用”?

Additional info: I can get to the source control explorer and with additional commands from another machine, so perhaps it's something pooched on my setup (although it was working an hour ago!)

附加信息:我可以访问源代码管理资源管理器以及来自其他计算机的其他命令,所以也许它是我的设置上的一些东西(尽管它在一小时前工作!)

2 个解决方案

#1


In Visual Studio, go to Tools > Options... Click "Source Control" in the tree Select "Visual Studio Team Foundation Server" as the current source control plug-in.

在Visual Studio中,转到“工具”>“选项”...单击树中的“源代码管理”选择“Visual Studio Team Foundation Server”作为当前源代码管理插件。

If this option is not available, ensure that you have Team Foundation Client installed.

如果此选项不可用,请确保已安装Team Foundation Client。

#2


You need to checkout (Mapping is not enough for Moving and Renaming - for that you MUST check-out) those files/folders to your local disk, before you get the context menu on right-click that you miss. I had same problem and from the MSDN official page I was not too much wiser :)

您需要签出(映射不足以移动和重命名 - 您必须签出)这些文件/文件夹到本地磁盘,然后右键单击您错过的上下文菜单。我有同样的问题,从MSDN官方页面我不是太明智:)

Anyway, I wonder what is the good reason, for which you can not move files in TFS server repository without checking-out those items to my disk. In SVN this is no problem. (And there is even no path mapping in SVN - just CheckOut :)

无论如何,我想知道什么是正当理由,你不能在没有将这些项目签出到我的磁盘的情况下移动TFS服务器存储库中的文件。在SVN这没问题。 (而且SVN中甚至没有路径映射 - 只是CheckOut :)

#1


In Visual Studio, go to Tools > Options... Click "Source Control" in the tree Select "Visual Studio Team Foundation Server" as the current source control plug-in.

在Visual Studio中,转到“工具”>“选项”...单击树中的“源代码管理”选择“Visual Studio Team Foundation Server”作为当前源代码管理插件。

If this option is not available, ensure that you have Team Foundation Client installed.

如果此选项不可用,请确保已安装Team Foundation Client。

#2


You need to checkout (Mapping is not enough for Moving and Renaming - for that you MUST check-out) those files/folders to your local disk, before you get the context menu on right-click that you miss. I had same problem and from the MSDN official page I was not too much wiser :)

您需要签出(映射不足以移动和重命名 - 您必须签出)这些文件/文件夹到本地磁盘,然后右键单击您错过的上下文菜单。我有同样的问题,从MSDN官方页面我不是太明智:)

Anyway, I wonder what is the good reason, for which you can not move files in TFS server repository without checking-out those items to my disk. In SVN this is no problem. (And there is even no path mapping in SVN - just CheckOut :)

无论如何,我想知道什么是正当理由,你不能在没有将这些项目签出到我的磁盘的情况下移动TFS服务器存储库中的文件。在SVN这没问题。 (而且SVN中甚至没有路径映射 - 只是CheckOut :)