This project has moved. For the latest updates, please go here.

Illegal character in path

May 11, 2009 at 2: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 7: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 11:52 AM

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 ;)