Uğraş Ergün
Uğraş Ergün

Reputation: 23

Change TFS collection of a Solution in Visual Studio 2010

I am trying to setup TFS server for our Projects. I sucessfully setup and added one of the solution for testing to TFS source controls. But naming were test purposes only so i need to change it. I deleted TFS collections from administration panel and created a new one, but when try to add my solution to new collection it tries to connect old collection and -naturally- cannot find it, and raises error. I do not have same problem for other solutions but only for the solution i tested in the first time.

things I've tried.


edit:
Ok I have find solution to my problem. The thing is Workspace info remained somewhere, I created a TPC and TP same name with the old ones. Then I manually removed Workspace info and then it worked.

Upvotes: 2

Views: 3596

Answers (2)

Uğraş Ergün
Uğraş Ergün

Reputation: 23

Ok I have find solution to my problem. The thing is Workspace info remained somewhere, I created a TPC and TP same name with the old ones. Then I manually removed Workspace info and then it worked.

Upvotes: 0

PVitt
PVitt

Reputation: 11770

You have to rebind the solution to the new collection using File -> Source Control -> Change Spurce Control. There you have to unbind all projects and rebind them to the new collection.

Upvotes: 0

Related Questions