• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1047
  • Last Modified:

I am facing Error ( MSB3021 ) on Team Foundation Server 2010 during automated build

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 her.
DetailedLog.txt
0
manch
Asked:
manch
1 Solution
 
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now