I have TFS 2010 and for one of the team project I have created the build definition (used default build template) and added the solution of one of the project. But when try to create build getting the following error:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (902): The command "if Debug == Debug copy "C:\Builds\14\\\Sources\ServerObjects..\SharedInterfaces\bin\debug*.dll" "C:\Builds\14\\\Sources\ServerObjects..\ServerObjects\bin\debug"" exited with code 1.