Ok I am using a complex although common in software development area directory structure:
main dir
code
images
levels
g*****a (cant give away all my secrets :-) )
data
xml
The main has a #define path
for images that are needed in the exe and a bind file for the ones that are loaded.
Also code uses a lot of ..\\..\\dir\\module
for modules that are used by project but need to be maintained separate.. all works fine from sed but when I try to publish I get about 500 file not found errors...
BTW it is not that I don't know how to get around this issue but it is a bug with relative paths. I have already created a "pre-process" to copy all files to a build directory and remove all relative paths.
But this type of "fix" is just a kluge to get around a problem that should be fixed..
Thanks