JG Vimalan's Blog

It is all about coding!

Automated builds created in TFS 2008 did not work in TFS 2010

I faced an issue with the automated builds recently. I created automated builds in tfs 2008 and they worked good. When the project sources are migrated to tfs 2010, all my builds are not work properly in tfs 2010.  Eventhough they succeeded, they did not pick the latest sources rather, an old source is found to be copied to the deployment server. After analysis I found that, in tfs 2010, there is an additional folder created in the path and it is the ‘Agent Id’. So I have updated the source path with the agent id as shown below,

<MyApplicationFiles Include=”D:\Builds\$(BuildAgentID)\$(BuildDefinitionId)\Binaries\debug\_PublishedWebsites\MyProject\**\*.*”/>

 this fixed the issue.


December 24, 2010 - Posted by | TFS

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: