Notes about NAnt: Difference between revisions
Jump to navigation
Jump to search
(→todo) |
|||
Line 10: | Line 10: | ||
** see also ReplaceInFile in OpenPetra.build | ** see also ReplaceInFile in OpenPetra.build | ||
== problems == | |||
Error message when having .net 4.0 runtime installed: | |||
<code>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.</code> | |||
* 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 <code>supportedRuntime version="v4.0.30319" </code> | |||
== todo == | == todo == | ||
* run SandCastle from NAnt: http://jachman.wordpress.com/2007/10/22/how-to-build-chm-html-documentation-with-sandcastle-september-ctp-2007-and-nant/ | * run SandCastle from NAnt: http://jachman.wordpress.com/2007/10/22/how-to-build-chm-html-documentation-with-sandcastle-september-ctp-2007-and-nant/ |
Revision as of 14:02, 17 August 2011
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