TFS问题:没有源控制选项(获得最新的,签出,签入)的解决方案 [英] TFS Issue: No source control options (get latest, check-out, check-in) for Solution

查看:374
本文介绍了TFS问题:没有源控制选项(获得最新的,签出,签入)的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景

我创建了微软的团队基础服务(tfs.visualstudio.com)一个新的项目。我加了code(果园CMS),其中包括解决方案文件,并进行初次办理登机手续。为了确保没有被错过了,我删除映射和删除我的地方。然后得到了最新,重新建立映射。我打开了解决方案,构建并设置了本地站点。一切运行良好。

I created a new project with Microsoft's Team Foundation Service (tfs.visualstudio.com). I added code (Orchard CMS) which includes the solution file and performed initial check-in. To make sure nothing was missed, I removed mappings and deleted my local. Then got latest and reestablished mappings. I opened the solution, built it and set up a local site. Everything worked fine.

问题

每当我打开/加载的解决方案,我注意到,我没有像获得最新的平常TFS选项,退房和入住和源代码控制选项。然后,我注意到一个添加到源代码控制选项(见下文)

Whenever I open/load the solution, I noticed that I don't have the usual TFS options like get latest, check-out and check-in and source control options. Then I noticed an add to source control option (see below)

当我点击它,我得到告知的项Orchard.sln'已经是源代码控制之下

Whenever I click on it, I get told that the 'item 'Orchard.sln' is already under source control'

没有源代码控制,我没有选择,我无法跟踪哪些文件已得到更新,并锁定为好。任何人都可以帮助吗?

Without source control, I don't have the options and I can't track which files have been updated or not, and the locks as well. Can anyone help please?

推荐答案

所有的源代码控制设置在SLN文件。

All the source control settings are in the SLN file.

用记事本打开它,并删除以下 GlobalSection (可以有多个有时):

Open it up with notepad, and remove the following GlobalSection (there can be more than one sometimes):

GlobalSection(TeamFoundationVersionControl) = preSolution
    ...Stuff...
EndGlobalSection

现在重新绑定解决方案,并使用项目:文件,源代码管理,高级,更改源代码管理...选项

Now re-bind the solution and project using the: File, Source Control, Advanced, Change Source Control... option.

这应设置正确的绑定。如果您在这些变化SLN,vspcc检查,的csproj文件就会留下来。

This should setup the binding correctly. If you check in these changes to SLN, vspcc, csproj files it will stay.

这篇关于TFS问题:没有源控制选项(获得最新的,签出,签入)的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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