Release Notes

0.91-beta1 - September 25, 2011

NAnt


Changes

Core

  • App.Config

    • Added mono-4.0 target
    • Added initial support for Silverlight 3 and 4
  • log4net

    • Upgraded to log4net 1.2.10.
  • MSBuild

    • Added initial support for 2008/2010 MSBuild/VS.NET project files.

Bug fixes

Core

  • App.config

    • Added WindowsBase.dll and PresentationFramework.dll to 4.0 target.
  • NAnt.xsd

    • Changed the NAnt.Core.Tasks.DescriptionTask task to mixed. (bug #3058913).
  • BuildException

    • Display correct registry hives in BuildException when Registry Path not found.

Tasks

  • ndoc

    • Fixed ndoc task to find hhc.exe for chm generation on 64 bit machines through reflection.

NAntContrib


Bug fixes

Tasks

  • <vb6>

    • Type library references with path ending of backslash+number (eg. vbscript.dll\3) are now parsed correctly. (bug #1745360).
    • Take "ResFile32" and "Desiger" files into account when checking for recompilation. (bug #1205594 and #1648001).
    • Reduced vb6 task problems with "Auto Increment" revision. (bug #1081472).
  • <msbuild>

    • Multiple targets can now be defined. (bug #3214616).

Functions

  • choose

    • Global types can now be defined in either the <when> or <otherwise> elements.
      <choose>
          <when test="${build.config == 'Debug'}">
              <patternset id="sources">
                  <include name="**/*.cs" />
              </patternset>
          </when>
          <when test="${build.config == 'Release'}">
              <patternset id="sources">
                  <include name="**/*.cs" />
                  <exclude name="**/Instrumentation/*.cs" />
              </patternset>
          </when>
          <otherwise>
              <fail>Build configuration '${build.config}' is not supported!</fail>
          </otherwise>
      </choose>
      

Additions

Functions

  • Windows Installer functions

    • Allows information on Windows Installer databases and products to be retrieved.

Tasks

  • <btsreceivelocation>

    • Allows BizTalk receive locations to be controlled.
  • <kill>

    • Immediately stops a given process.
    • When used in combination with the <exec> task, it allows processed to be spawned for a certain duration or task, and then stopped.
  • <loadproperties>

    • Loads a file's contents as NAnt properties.
  • <waitforexit>>

    • Waits for a given process on the local computer to exit.
    • When used in combination with the <exec> task, it allows processed to be spawned for a certain duration or task, and then wait until the process is finished before continuing.

Changes

Framework support

  • Mono

    • Fixes in both Mono and NAntContrib now allow NAntContrib to be used in Mono (both Windows and Linux).
  • .NET Framework 3.5

    • Updated build file to allow NAntContrib to be built against .NET Framework 3.5 and Mono 3.5 Profile.

Installation

  • Templates

    • The templates used by the <msi> and <msm> takes are now embedded in the NAntContrib assembly, and no longer need to be installed separately.

Tasks

  • <deliisdir>

    • Attempting to delete a virtual directory that does not exist, no longer results in a build failure.

0.91-alpha2 - August 17, 2010

NAnt


Bug fixes

Core

  • App.config

    • Fixed typo that prevented System.Management.dll from being included.

Tasks

  • <include>

    • Fixed error with the <include> task when different build files include the same file. (bug #3016497).

Functions

  • NAnt::get-assembly()

    • Using the NAnt::get-assembly() function causes an "Object must implement IConvertible" error. (bug #3013492).

0.91-alpha1 - May 29, 2010

NAnt


Framework support

  • Added support for .NET Framework 4.0 (except for <solution> task).

Bug fixes

Expressions

  • Coercion

    • Coercion of arguments is not supported (bug #3013492).

Changes

Tasks

  • <xmlpeek>

    • Enhanced the <xmlpeek> task to support more advanced XPath functions and syntax. It is now possible to use functions such as count() and to index the node using XPath directly. (feature request #1560566).