Any Tutorial to Create my Own MSBuild Extension Pack

Nov 26, 2009 at 1:30 PM

Hello,

I have couple of MSBuild Custom Tasks sitting on different DLLs and I am referring those from my .Proj file by Using TASK.

I want to combine all these task to have my own Extension Pack. Any statter guide which can help me?

Thanks,
Prabhat Nath

Coordinator
Nov 26, 2009 at 2:43 PM

Anything you can contribute? :-)

How you combine them is up to you, but i would isolate tasks based on dependencies. There are links to MSBuild resources here: http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/0e7d75d1-6233-4e83-9014-3890bf874d32/ that might help you out.

Mike

Nov 27, 2009 at 7:16 AM

Thanks Mike for your response.

I have also seen some other examples like: http://www.clanmonroe.com/Blog/archive/2009/08/24/creating-a-custom-msbuild-task-for-tfs-build.aspx.

As I said I have multiple MSBuild Task projects giving me DLLs and I am referring those in my .proj files like:
<UsingTask TaskName="XYZ" AssemblyFile="ABC.dll" />

And now I have all these DLLs sitting in my BuildDefn folder. So now I want to write something like "MSBuild.SomeName.tasks" and where I will refere/import all these DLLs and use this task in my project, instead of all individual DLLs. Any pointers.

ps: I have no idea where the .task file is linked into the solution where I have all my task projects.

Prabhat