use GetProjectRootDirectory() to detect project root