I have a working folder that's synced to a team server. I was wondering if there is a way to remove some of the subfolders (i.e., stop syncing them, and make them invisible to others), without actually deleting them on the local drive?
views:
17answers:
2
+1
A:
I think "Exclude from project" (by right clicking the folder/file in solution explorer) is what might help you.
loxxy
2010-09-16 15:41:58
Assuming this would work (i.e., that source control would know to stop syncing it), it cannot be done to subfolders. The folder I'm talking about isn't associated with a VS2008 solution, it's used to store intermediate output from a statistical package.
Alexander
2010-09-16 15:52:38
A:
Most source control providers do not delete the folders when they are removed from source control. There are exceptions but I don't believe this is the standard behavior. If it is though you can do the following to work around the problem
- From explorer rename the directory and add the .backup extension
- Remove the folder from source code control. Since it's renamed it can't be deleted because source control can't find it
- Rename the folder back to the original name.
JaredPar
2010-09-16 16:05:47