Post Transform Component logo path

Topics: Developer Forum, User Forum
Apr 21, 2008 at 10:13 PM
I'm not entirely sure if I missed something here, but when I specify a logo for the Post Transform component it seems to require an absolute path. That makes moving my shfb files between computers rather tedious because the drive/directory setup is quite different. Shouldn't this component support relative paths for the logos?
Coordinator
Apr 21, 2008 at 11:13 PM
If a relative file path is specified, it will be relative to the current working folder at build time. As such, you may need to add a few more "..\" parts to get it to find the right folder. Optionally, you can specify a replacement tag such as {@ProjectFolder} to get there a bit quicker or go relative from there:

{@ProjectFolder}Images\MyLogo.jpg
 
or
 
{@ProjectFolder}..\Images\MyLogo.jpg

Eric
Apr 21, 2008 at 11:50 PM
I had tried many parent path parts, and there was no way that it needed a path like "..\..\..\..\..\File.jpg", the directory structure isn't that deep from the root (and I tried it with each additional parent path component).

I'll give the tag a try and see if that works. any better. Thanks.
Apr 22, 2008 at 12:08 AM
I just tried this with the "{@ProjectFolder}Content\Image.jpg" tag + path and it worked perfectly, thank you.