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

Post-transform Component::logoFile : what's current dir?

Topics: Developer Forum
Jul 14, 2009 at 10:05 AM


I wonder what's current dir for logo file in Post-transform Component configuration ?

I have the following config and my_logo.gif is in the same dir as .shfbproj file. But during build PostTransformComponent can't find logo file.

<component id="Post-transform Component" type="SandcastleBuilder.Components.PostTransformComponent" assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
    <colorizer stylesheet="{@SHFBFolder}Colorizer\highlight.css" scriptFile="{@SHFBFolder}Colorizer\highlight.js" copyImage="{@SHFBFolder}Colorizer\CopyCode.gif" />
    <logoFile filename="my_logo.gif" altText="" width="0" height="0" placement="left" alignment="left" />

With an absolute path it works fine.

Jul 14, 2009 at 8:13 PM

The current folder at build time is the working folder.  Any relative paths in the configuration are relative to the working folder.  Use the {@ProjectFolder} replacement tag in the value to reference the project folder (i.e. {@ProjectFolder}my_logo.gif).



Jul 15, 2009 at 9:56 AM