This project has moved and is read-only. For the latest updates, please go here.

Additional Content: How to Exclude certain directories?

Topics: User Forum
Apr 13, 2007 at 9:09 PM
I have a folder that contains html files and subfolders containing html files. one of the subdirectories that occurs all over is .svn - this folder is created by subversion (our code repository). The files/folders generated for subversion cause the sandcastle build to fail (understandably). I would like to exclude those subdirectories in the additional content.

1. When I add the Additional Content Source Path of .\Additional Content\*.html only the html file in the top most directory is found. (not recursively searching the folders below)

2. When I add the additional Content Source Path of .\Additional Content\. All of the folders and subfolders are found (including the .svn folders)

3. When I change the Exclude Items = True and set the Source path to be .\Additional Content\*.svn It doesnt find anything.

Any suggestions? Thanks for your help!
Apr 14, 2007 at 2:39 AM
Edited Apr 14, 2007 at 2:40 AM
Only *.* wildcards recurse into sub-folders. Add an entry for each .svn folder and set its ExcludeItems property to true.