更改 TFS 项目上的绑定 [英] Change Bindings on TFS project

查看:28
本文介绍了更改 TFS 项目上的绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为项目添加解决方案,但不小心将解决方案添加到错误的团队项目中.

I wanted to add a solution to a project, but accidentally added a solution to the wrong Team Project.

在添加项目之前,我在本地复制了一份.然后我在 Source Explorer 中删除了该项目并运行了签入.这从本地驱动器中删除了代码.

Before adding the project, I made a copy locally. I then deleted the project in Source Explorer and ran a checkin. This deleted the code from the local drive.

然后我从本地副本恢复代码.打开解决方案并从更改源代码管理"表单中删除绑定.

I then restore the code from the local copy. Opened the solution and removed the bindings from the Change Source Control form.

我遇到的问题是每次尝试将解决方案添加回源代码管理时,它都会自动添加到第一个项目中.有没有办法选择您添加解决方案的项目?

The issue I have is every time I try to add the solution back to source control, it is automatically added to the first project. Is there a way to pick the project you add a solution to?

推荐答案

您没有完全删除 TFS 绑定.

You didn’t completely remove TFS Bindings.

有一个工具可以从 msdn 的 Visual Studio 解决方案和项目中删除源代码控制绑定:http://blogs.msdn.com/b/saveenr/archive/2012/08/11/a-tool-to-remove-source-control-bindings-from-visual-studio-solutions-and-projects.aspx

There is a tool to remove Source Control Bindings from Visual Studio Solutions and Projects from msdn: http://blogs.msdn.com/b/saveenr/archive/2012/08/11/a-tool-to-remove-source-control-bindings-from-visual-studio-solutions-and-projects.aspx

更多方法和更多信息供您参考:如何彻底删除TFS绑定

More ways and more information for you reference: How can I completely remove TFS Bindings

这篇关于更改 TFS 项目上的绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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