Notes about NAnt
Jump to navigation
Jump to search
website
- http://nant.sourceforge.net/
- documentation, eg list of all tasks: http://nant.sourceforge.net/release/latest/help/tasks/index.html
installation
for installation on Windows, see Setup of Development Environment for Windows#NAnt
usage
- add custom scripts in c#: http://nant.sourceforge.net/release/latest/help/tasks/script.html; also see [1]
- see also ReplaceInFile in OpenPetra.build
problems
Error message when having .net 4.0 runtime installed:
Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
- see solution here: http://keithbloom.wordpress.com/2010/09/21/nant-and-the-net-4-error/
- modify %InstallLocation%\NAnt\bin\NAnt.exe.config and remove at the bottom
supportedRuntime version="v4.0.30319"
- modify %InstallLocation%\NAnt\bin\NAnt.exe.config and remove at the bottom