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
Running your test program via start might work. Change your post build step from this:
start
runtest.exe
to this:
start runtest.exe