Skip to main content
  • 305 Accesses

Summary

Without even delving into the tasks of NAnt to any great degree, we can see already that there is significant power and flexibility afforded to the erstwhile developer through the configuration and organization possibilities of the build scripts for NAnt.

We can run NAnt scripts with our desired command-line options. We have looked at the core features of a build script and feel confident in meddling with these and applying their various attributes. Additionally, we have looked at two specific tasks that provide significant additional flexibility in script structure. We understand how dependencies between targets work, and how inheritance between build scripts works.

On a practical level, we have considered how we might structure our own build script for our solutions. We have considered the core activities that need to occur as part of our build process and we at least have a “v1” skeleton of the build and deploy 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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover 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.

Further Reading

  • For a general discussion of open source tools, I would certainly refer to Brian Nantz’s Open Source.NET Development: Programming with NAnt, NUnit, NDoc, and More (Addison-Wesley, 2004) in order to better inform my opinion.

    Google Scholar 

  • Once again, for a good discussion on choices for build tools, refer to Coder to Developer: Tools and Strategies for Delivering Your Software, by Mike Gunderloy (Sybex, 2004). There is a good discussion of log4net, the logging tool used by NAnt, as well.

    Google Scholar 

Download references

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Marc Holmes

About this chapter

Cite this chapter

Holmes, M. (2005). Dissecting NAnt. In: Expert .NET Delivery Using NAnt and CruiseControl.NET. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0023-9_2

Download citation

Publish with us

Policies and ethics