Yes, I know, it's the same as suggested in post #2!
It's a workaround, but it's not my 'wish'!
I am concerned with cross platform solutions.
Therefore in my mind, I should be able to use a same statement in all three products, without any conditional compiling, if it's technically possible.
My philosophy is: try to make the user's life easier despite your programmer life.
In our case, there are two possibilities: File.DirAssets or "../files/".
So, the system behind should handle this difference and not oblige the user to take care of it, well that's my point of view.