views:

203

answers:

2

I created a folder in a TFS Project under workspace "CPortalWS". I deleted the workspace, but now I would like to delete the folder in the project and the delete option is not available.

I've tried to create a new workspace mapped to the project but I still don't get the option to delete.

Is this a bug in TFS? How can I delete the folder?

Any help would be appreciated.

+1  A: 

Deleting a folder in TFS is a little strange.

You have to:

  • Create a Workspace

  • Get the latest source for the folder (to your local machine)

  • Inside Source Explorer, delete the folder

  • Check in your changes (this is the step that deletes the folder in Source Control)

Justin Niessner
Awesome Justin, I was missing the "Get Latest" part, I just assumed the assigning of the workspace would bind it - my bad.Thanks!
Mark Kadlec
A: 

While trying this i noticed it still leaves the folder in the workspace. Isnt it supposed to delete that copy during the pending changes checkin?

Jason