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

Are wildcards supported?

Oct 21, 2009 at 6:12 PM

I expect documentation to increase with future production of my code. I would like to use wildcards in the project files to accumulate all existing files in a resource directory. This is possible in a standard MSBuild, should the Sandcastle Help File builder accommodate wild cards as well? This would make maintenance much easier!


<Content Include="html\**\*.png" />
<Content Include="html\**\*.html" />

instead of:

<Content Include="html\namespace1\sublib1\name1.png" />
<Content Include="html\namespace1\sublib1\name1.html" />
<Content Include="html\namespace2\sublib2\name2.png" />
<Content Include="html\namespace2\sublib2\name2.html />


Oct 21, 2009 at 8:44 PM

Wildcards are not supported.  The files must be specified individually.  I don't plan on supporting wildcard items since it isn't supported in the MPF framework used for Visual Studio integration planned for the future.  You can use the Add Existing Folder option in the Project Explorer window in the SHFB GUI.  It is smart enough to only add missing items and leave ones already in the project alone.