TFS 2010 ( MSB3021 ) unable to copy file..... could not find file.....

I am building a solution on TFS 2010 via automated build, solution contains six libraries and one website project. With every build i am facing following error :

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets (60): Unable to copy file "obj\Debug\multichoice.bo.smsdsd.ui.csproj.FileListAbsolute.txt" to "C:\Builds\1\TestProject\TestProject\Binaries\_PublishedWebsites\multichoice.bo.smsdsd.ui\obj\Debug\multichoice.bo.smsdsd.ui.csproj.FileListAbsolute.txt". Could not find file 'obj\Debug\multichoice.bo.smsdsd.ui.csproj.FileListAbsolute.txt'.

Detailed log is also attached here.
DetailedLog.txt
LVL 6
manchAsked:
Who is Participating?
 
manchAuthor Commented:
I worked around this and found solution that if you keep "obj" references in solution then it will throw these errors, so for successful automated builds on TFS 2010 you need to exclude "obj" folder & its dll references from the project/solution.

cheers :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.