#NAnt 4 NuGet#
NAnt is a free .NET build tool. In theory it is kind of like make without make's wrinkles. In practice it's a lot like Ant.
Documentation for NAnt can be found here: http://nant.sourceforge.net/release/0.92/help/
NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.
NAnt 4 NuGet is a NuGet package containing the NAnt build tool. It allows NAnt to be added to any Visual Studio solution using the NuGet package manager using the command:
Install-Package NAnt
This package was inspired by the NAnt.Portable package. Unfortunately there are a number of issues with NAnt.Portable that make it unusable. These included:
-
NAnt.Portable cannot be used in Visual Studio 2015 projects. Any attempt to install the package results in the error "Could not install package 'NAnt.Portable 0.92.0'. You are trying to install this package into a project that targets '.NETFramework,Version=', but the package does not contain any assembly references or content files that are compatible with that framework."
-
The zip and unzip tasks fail due to missing assembly references in NAnt.Portable.