views:

91

answers:

1

How to use MSBuild Community Tasks in Team Build 2010? As you know TFS 2010 uses Windows Work Flow instead of Tasks and Target like previous version.

Many Thanks

A: 

MSBuild is still used to build your solution(s)/project(s). The simplest thing would be to install the Community Tasks on your build machine and reference them as you normally would from your solution's project files (*.*proj).

Jim Lamb
@Jim: You are right. But I also have heard that an Activity exists to run custom build tasks. Is it true?
afsharm
You could use the MSBuild activity, but in many cases it wouldn't make sense since you would have very little context available to you. When you're manipulating inputs and/or outputs, it's generally better to do it with MSBuild script within one of your project files. For more details, see my blog post http://blogs.msdn.com/b/jimlamb/archive/2010/06/09/windows-workflow-vs-msbuild-in-tfs-2010.aspx
Jim Lamb