>Assuming you are building from the project manager, have you tried building from the command line instead? If you can successfully rebuild from the command line then the problem is likely in the Project Manager.
As a workaround for that, what I have done is to create the EXE icon on the desktop. Whenever I build, I run the EXE from the icon on the desktop instead. So, the memory does not get all mixed up. I am ok using that approach.
I'll let you know however about the command window. If I recall correctly, this was not changing anything.