Visual Studio 2012 - 如何将我的解决方案绑定到另一个 Team Foundation 服务器? [英] Visual Studio 2012 - How do I bind my solution to another Team Foundation server?

查看:26
本文介绍了Visual Studio 2012 - 如何将我的解决方案绑定到另一个 Team Foundation 服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个绑定到 CodePlex 服务器的 Visual Studio 2012 (RC) 解决方案.但是,我想将其绑定到 Team Foundation Service 服务器.我不在乎保存历史,因为无论如何我才刚刚开始这个项目.我应该如何将解决方案绑定到新服务器?

I have a Visual Studio 2012 (RC) solution bound to a CodePlex server. However, I want to bind it to a Team Foundation Service server instead. I don't care about preserving the history, since I've just started the project anyway. How should I go about binding the solution to the new server?

我尝试了 File->Source Control->Advanced->Change Source Control,同时连接到 Team Foundation Service TFS 服务器,但我只能看到操作 Bind 对我可用,这只是重新绑定到 CodePlex.这很奇怪,因为当我尝试将未绑定的解决方案直接添加到 Team Foundation Service 服务器时,Visual Studio 将我指向 Change Source Control 对话框.

I've tried File->Source Control->Advanced->Change Source Control, while connected to the Team Foundation Service TFS server, but I can only see that the action Bind is available to me, and this just re-binds to CodePlex. Which is strange, since Visual Studio pointed me to the Change Source Control dialog when I tried to add the unbound solution to the Team Foundation Service server directly.

推荐答案

我在 这篇文章.我所做的是,在连接到 CodePlex TFS 时,打开 File->Source Control->Advanced->Workspaces,然后双击我的工作区项目.这启动了一个对话框,我在其中删除了解决方案的工作文件夹.

I found out how to do this with the help of this article. What I did was to, while connected to CodePlex TFS, open File->Source Control->Advanced->Workspaces and then double-click on my workspace item. This launched a dialog where I removed the solution's working folder.

此后,我可以连接到 Team Foundation Service 并自由地让该解决方案由该服务器进行源控制.

After this I could connect to Team Foundation Service and freely let the solution be source controlled by that server.

这篇关于Visual Studio 2012 - 如何将我的解决方案绑定到另一个 Team Foundation 服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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