BuildScript: Project Loctaion

I have to get the Project Location in a pre-Build Buildscript als NativePath.
I found “CurrentBuildLocationNative”, but that ist set only post-build.
Has someone an idea how to get it?

Marius

If you use ProjectShellPath and reverse the simple function to make a shell string you should have a native path on macOS.

function getShellString(theString as String) as string
  theString = ReplaceAll(theString, " ", "\ ")
  theString = ReplaceAll(theString, "&", "\&")
  theString = ReplaceAll(theString, "(", "( ")
  theString = ReplaceAll(theString, ")", ") ")
  return theString
end Function