Skip to main content

Extending MSBuild

  • Chapter
Deploying .NET Applications
  • 244 Accesses

Summary

In this chapter, we presented the two most extensible aspects of MSBuild: custom loggers and custom tasks. We discussed how you can hook into the MSBuild logging process to create your own logger that meets the specific needs of your application if necessary. We covered how to create custom tasks to perform steps unattainable from existing MSBuild tasks. During this, we also discussed incremental building and how you can create targets and tasks that support it. We showed how to cleanly extend the build and clean process that MSBuild currently has in place. With these tools, you should be able to customize the build to meet the needs of your applications. All of the source code for this chapter is available in the Source Code section of the Apress Web site (http://www.apress.com). For brevity reasons, some details of that code could not be covered; for more information, see the source files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Sayed Y. Hashimi, Sayed Ibrahim Hashimi

About this chapter

Cite this chapter

(2006). Extending MSBuild. In: Deploying .NET Applications. Apress. https://doi.org/10.1007/978-1-4302-0162-5_4

Download citation

Publish with us

Policies and ethics