Yesterday I spent some time with the nice guys at Hedgehog Development and I remembered a problem that we’ve experienced lately in our team.
The problem we had, is that TDS sometimes doesn’t copy the right files into our web project. Actually, it turned out it didn’t copy the latest versions of the recently built files. This can happen sometimes when using parallel builds, so TDS may start copy the files into the web project before the other builds are completely finished. Change the build options in Tools->Options->Project and Solutions->Build and run and set the maximum number of parallel project builds to 1, so that projects are built once at a time.
Works perfectly for me! Thank you guys!