Rocho.J

人脑是不可靠的, 随时记录感悟并且经常重复!

 

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

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. 打开本地保存的解决方案文件, 该解决方案现在应该在源代码管理中了.

posted on 2011-05-03 10:44  RJ  阅读(378)  评论(0编辑  收藏  举报

导航