Chapter 4. Custom Tasks

MSBuild is shipped with many built-in tasks, and there are many tasks that are available by third parties. Even with these there may be times where you need to write your own task. In this chapter, we will take a look at how custom tasks are created and used. In the next chapter, we will cover custom loggers. Before you create a new task you should make sure that you cannot reuse an already existing task to fulfill your needs. Here is a list of open source task repositories where you can find MSBuild tasks:

Custom tasks allow you to write .NET code that ...

Get Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.