Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio 2013 team project has been deleted

After adding a new web solution to source control in vs 2013 and check in for the first time, I get this error:

TF402484: The "PROJECTNAME" team project has been deleted. 
Undo any pending changes to that project or branches from 
that project in your local workspace. Then retry the operation.

If i try to choose "Undo any pending changes" it tell me that there are no pending changes. Now I cant "get latest" or "check in" any other solutions and I get the same error. The source control explorer doesnt show anything other than "working..." and I get the same error. The projects is not vissible to others in the team.

Anyone else experience something like this? I have remove the project from the workspace. Can I remove the project from VS 2013 in any other way?

like image 219
freddy Avatar asked Jun 09 '15 19:06

freddy


2 Answers

I just experienced this as my colleague deleted projects in TFS where I have connection to those projects. The way i solved it:

In Team Explorer, click to Pending Changes. you will see there are four section in it which is Comment, Related Work Items, Included Changes and Excluded Changes. Look at Excluded Changes section if there are any files which belong to deleted folder. If yes, right click at the file name and choose Undo.

like image 160
Fidah Avatar answered Sep 29 '22 11:09

Fidah


This is how I solved it:

  • Go to Team Explorer.
  • In the left you will find "Folders".
  • Right click on "DefaultCollection" (or the collection the project you deleted -used to be in) and choose "Undo Pending Changes".
  • Choose the files of the project you have deleted.
  • Confirm the Undo changes.
like image 32
theMost1ted Avatar answered Sep 29 '22 10:09

theMost1ted