I am using the following post-build event line to delete my project obj/ directory in VS WebDev 2008:
rmdir $(ProjectDir)obj /s /q
This seems to delte the files but leaves an empty Debug/Release directory in there, and either complains that "directory is not empty", or it silently fails to delete obj and obj/Debug. What I am doing wrong?