Team Foundation Server 2010 Build: Warning: Cannot find the last label '': no changesets will be associated with the build.
After configuring a build definition for some projects, the build always returned the following warning:
Warning: Cannot find the last label '': no changesets will be associated with the build.
Some further investigation made me notice that it only happened on projects were there was no successful build (yet). The first time that the build succeeds(no errors), the warning goes away and never comes back.