How to permanently remove TFS Source Control association bindings?
来源:互联网 发布:蓝牙单声道软件下载 编辑:程序博客网 时间:2024/05/29 03:11
I have faced this issue when I decided to move one of my freelance project from my own TFS to CodePlex.
To re-assign to a new Source Control, you need to remove association to old one first.
Another case when you may need this is when you renamed your TFS and your projects cannot find their code storage and you will see this warning each time you try to open these projects:
Here is how to remove this association:
1. Remove all *.vssscc and *.vspscc files from your Solution folders.
2. Check if your Solution *.sln file is Read-Only. Remove this flag if needed.
3. Open *.sln file in an editor. I prefer Windows Notepad for such operations.
4. Find GlobalSection(TeamFoundationVersionControl) looking as showing below and remove it begining with GlobalSection and ending with EndGlobalSection:
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 2
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = http://<YourTFS>/tfs/defaultcollection
SccLocalPath0 = .
SccProjectUniqueName1 = <Your Project path and name in TFS>.csproj
SccProjectName1 = <Project Name>
SccLocalPath1 = <Project Path>
EndGlobalSection
5. Save and close your Solution file.
6. Go ahead and open this Solution in Visual Studio IDE as usual.
7. If you will get IDE warning similar as shown below, just select "Permanently remove source control association bindings".
That's it! Now you can associate your code with a new TFS Project.
P.S. I tested this on VS/TFS 2010. Not sure if this works with older versions.
Referenced from: http://zayko.net/post/How-to-permanently-remove-TFS-Source-Control-association-bindings.aspx
- How to permanently remove TFS Source Control association bindings?
- How to create a read-only user in TFS source control
- How to create a read-only user in TFS source control
- How to create a read-only user in TFS source control
- How to create a read-only user in TFS source control
- Xcode Source Control showing multiple Working Copies How to delete?
- How to add a path to matlab search path permanently
- How to use bindings-generator to generate lua binding automatically
- How To Use Git Source Control with Xcode in iOS 7
- How to solve TFS slow response problem?
- How to Setup Apache With FastCGI And Ruby Bindings
- How to control Windows services
- How to use ReportViewer Control
- How to remove a replica.
- How to remove ActiveX Controller
- How to remove OLAP组件?
- How to remove GlusterFS Volumes
- JDev: How to make JDev run ant script in debug mode permanently
- ActionBarActivity环境搭建步骤及遇到的问题总结
- webclient下载文件
- 黑马程序员——Java基础——数组操作应用
- string path = @"c:\temp\MyTest.txt";这里的@是什么意思
- 毫无弹性和粒度可言的编程模型
- How to permanently remove TFS Source Control association bindings?
- Java泛型详解
- 求最大连续bit数
- poj 并查集 - 2524 Ubiquitous Religions
- iOS客户端开发与Web前端开发
- libcurl 使用记录2(curl_muli的使用)
- 黑马程序员——OC语法,封装block和协议protocol
- 书写SQL需要注意的若干问题
- 面向对象(继承-概述1)