Where can I execute and find out the value of $(ProjectDir)?
$(ProjectDir)
Do a pre/post build step.
Example:
echo $(ProjectDir)