What are some good resources to learn to use NAnt?
Asked Answered
A

3

8

I've never used an automated build system - to be honest, I've never had a use for it since I work as a solo developer (not by choice) and do development only on my workstation, so using the Build menu in Visual Studio has been good enough for me.

I'm trying to learn more good software engineering practices, and continuous integration is one of them. However, I know that I need to use an automated build script to set up a CI environment, but I've never used one and don't know where to begin.

I've heard that NAnt is the really good one (although MSBuild is similar?) that most professional developers use. What are some good resources to properly learn how to use NAnt?

Anhydrous answered 13/1, 2009 at 14:35 Comment(2)
Are you sure you need to use NAnt? As you are building from within visual studio your project files are already MSBuild files and would be a quicker way of getting up and running with your stated goal: to start using CI.Dubious
True, but NAnt seems like it's more widely used than MSBuild, so it might be a useful thing to pick up for the future.Anhydrous
A
5

The best place to start learning is to just dig in on a small project and refer back to the NAnt User Manual.

Outside of doing that, here are a few places I've found helpful in the past:

Absa answered 13/1, 2009 at 15:39 Comment(1)
The NAnt User Manual seems to be broken. Is NAnt still alive?Presswork
H
4

We are putting together a few good screen casts on Nant over at http://dimecasts.net/Casts/ByTag/NAnt

Hargeisa answered 21/1, 2009 at 2:40 Comment(0)
V
3

A resource that helped me, was looking at some actual projects that others have created. Pick some projects that use .NET and NAnt, download source, and look at their build files and how they organize them. This might shed some light on why you would want to use certain things and some tips and tricks.

Example projects that were useful for me to look at their NAnt build procedures:

  • NAnt, they have NAnt files to build the whole thing, who else would it be best to learn from?
  • NUnit
  • SharpZipLib
Verily answered 15/1, 2009 at 5:7 Comment(2)
Just like a picture is worth 1000 words, so is an example.Hashim
Where Can I find NUnit? The NUnit-Link on the NAnt's System Requirements page is broken.Presswork

© 2022 - 2024 — McMap. All rights reserved.