This project is read-only.

Any Tutorial to Create my Own MSBuild Extension Pack

Nov 26, 2009 at 2:30 PM


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?

Prabhat Nath

Nov 26, 2009 at 3: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: that might help you out.


Nov 27, 2009 at 8:16 AM

Thanks Mike for your response.

I have also seen some other examples like:

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.