apparently Rebuild is not as good as Clean,Build see http://social.msdn.microsoft.com/Forums/vstudio/en-US/4fb20a03-bf73-472d-824f-4002c3db228f/forcing-a-target-to-clean-and-rebuild-using-msbuild