Can't delete folder in SCC Explorer
The problem may be caused by that I just add the projects without adding the solution. Could I manually delete a folder in other tools(command line or in database)?
The problem may be caused by that I just add the projects without adding the solution. Could I manually delete a folder in other tools(command line or in database)?
From the command line (Start -> Microsoft Visual Studio 2005 Beta 2 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt), you can use the "h delete" command to delete the folder.
I'd like to know a little more about the problem with deleting it in the Source Control Explorer, however. Is the folder greyed out? What happens when you try to delete? Do you get an error message, or does nothing happen?
thanks,
-Jason
I can't delete it since the "delete" command has grayed. And the folder is grayed out too.
I'll file a bug asking that the restriction of needing to have the item be removed for delete, though it may not make the cut for version 1.
Buck
This is the detailed process:
My local project (Test.csproj) is in D:\Dev\src\DWM\Test
I then add it to SCC under the project DWM, during the adding process, I create a folder in SCC named DWMApp, the "Test" is then put under that.
So finally in SCC the path is $DWM\DWMApp\Test
When I click DWMApp icon, it shows it is not mapped, and I don't know how to map it.
You can check your workspace mappings through the IDE. Under file menu->Source Control-> Workspaces. You should have a default workspace which is the same name as your hostname (machine name). You can select that workspace and click Edit, then choose the repository folder (e.g.: $/MyTeamProjectName/DWM/DWMApp/Test) and local folder (e.g.: d:\dev\src\DWM\test).
Once you have your mapping setup, go back to scc explorer, right click on your folder DWM and select "get latest" (make sure the workspace dialog dropdown is selected to the correct workspace). After you do get latest, your folder shouldn't be greyed out and you can delete your folder.
Hope this helps,
Cissy.