It's not clear from the documentation what the working directory is for pre-build or post-build events in Visual Studio. What is it? Where is this documented?
It's not clear from the documentation what the working directory is for pre-build or post-build events in Visual Studio. What is it? Where is this documented?
For future reference, to find the execution directory, you could also enter:
"start cd"
in the Pre-Build event command line area.
This will open a command prompt in the current path after saving and triggering a build.
Also, the directory will be pointing in the \bin\debug|release.