The current working directory of the pre-build and post-build events is the output directory specified by the macro $(OutDir), not the project directory.
The following tags in "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" specify this: