Part of the post build on my project is the execution of a program I wrote for testing the main application. Unfortunately, the post build process in visual studio locks up
I spent a considerable amount of time trying to figure this out. What you need to do is place "cmd" as the first line of your post-build event.
An example might look like this:
cmd xcopy /Y $(ProjectDir)$(OutputDir)* C:\SomePath\*