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

Illegal character in path

May 11, 2009 at 3:04 PM

Hi all,


I'm trying to use wildcard patterns for content includes in the SHFB project files (v, however I always get an "Illegal character in path" (or similar, the message is in German) exception when loading the project file. Is this a bug? Since I'm generating quite a number of files externally, I would prefer to import them as additional content without having to specifiy them individually ;)

This is one of the problematic lines:

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


May 11, 2009 at 8:42 PM

Wildcards are not supported.  It's a limitation of the project format.  Eventually, the projects will be editable within Visual Studio and it doesn't support wildcard items.



May 12, 2009 at 12:52 PM

I see - VS doesn't preserve wildcards, but still allows to load such projects (at least it does for C# projects) - also MSBuild itself doesn't have that limitation, so I'd still consider wildcard support as useful.

OTOH, it's not really that hard to restructure my build, just a bit annoying ;)