TFS 2008: Message that "solution not currently configured for integrated source control in Visual St...

本文介绍了解决TFS2008中Visual Studio解决方案未配置到源代码管理的问题步骤。通过在线、更改源代码管理和重新绑定等操作,使解决方案能够正常连接到TFS服务器。

TFS 2008: Message that "solution not currently configured for integrated source control in Visual Studio"

英文不好, 随便翻下: TFS 2008: Visual Studio中的解决方案未正确配置到源代码管理中

解决方法: 转自MSDN

Try these steps to fix the problem:

1. Open Visual Studio 2008.
2. Open the local copy of the solution file using File > Open Project/Solution. (Note that no source control glyphs are visible.)
3. Choose the File -> Source Control menu in Visual Studio, and the "Go online" menu item. The source control glyphs now appeared. 
4. Choose File> Source Control> Change Source Control and make sure the binds are correct.  Unbind and rebind if they are not pointing to the TFS server.
5. Check out a file, modified it, and checked it back in to source control.
6. Exit Visual Studio and restart. (This time Visual Studio connect to Team Foundation Server automatically.)
7. Open the local copy of the solution file.   The solution should be under source control now.

按如下步骤修复该问题:

1. 打开VS2008。

2. 在"文件"菜单中, 使用"打开项目/解决方案".(这里看不到源代码管理的树形结构)

3. 在"文件"菜单中, 选择"源代码管理" -> "上线(Go online)"菜单项. 这时就可以看到源代码管理的树形结构.

4. 在"文件"菜单中, 选择"源代码管理" -> "更改源代码管理"菜单, 确保正确绑定. 如果没有指向TFS服务器的话, 取消绑定后再次重新绑定. (实际就是点一下取消绑定, 再点一下重新绑定)

5. 签入任意文件, 修改一下, 之后再签入.

6. 退出Visual Studio 并重新打开VS. (这时, Visual Studio将会自动连接到TFS服务器)

7. 打开本地保存的解决方案文件, 该解决方案现在应该在源代码管理中了.

转载于:https://www.cnblogs.com/cs_net/archive/2011/05/03/2035021.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值