Deleting Folders In Visual Studio.
Deleting Folders In TFS.
Removing Folders In Visual Studio.
Removing Folders In TFS.
I just got the most annoying message while trying to delete a folder in Visual Studio 2010 that is connected to TFS:
"This operation cannot be completed. You are attempting to remove or delete a
source-controlled item where the item is either exclusively locked elsewhere or
otherwise unable to be deleted from source control."
The solution is very simple.
Create an item inside the folder you are trying to delete. No need to check in.
Now delete that folder.
TFS and VS have some weird bug with deleting empty folders, so, this is the fastest workaround.
Hope it helped,
CTO at ITweetLive.com