Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Upgrade Nant to 0.92

Needed to upgrade to build FM with .NET 4.
  • Loading branch information...
commit 625614fae72c38fd1c7adfb2063fb0c10f574369 1 parent 1ef1477
Daniel Lee daniellee authored
Showing with 11,493 additions and 6,395 deletions.
  1. +1 −1  default.build
  2. +1 −1  src/SolutionInfo.cs
  3. BIN  tools/nant/MSITaskErrors.mst
  4. BIN  tools/nant/MSITaskTemplate.msi
  5. BIN  tools/nant/MSMTaskErrors.mst
  6. BIN  tools/nant/MSMTaskTemplate.msm
  7. BIN  tools/nant/NAnt.CommentTasks.dll
  8. BIN  tools/nant/NAnt.CompressionTasks.dll
  9. +165 −49 tools/nant/NAnt.CompressionTasks.xml
  10. BIN  tools/nant/NAnt.Contrib.Tasks.dll
  11. +3,734 −3,448 tools/nant/NAnt.Contrib.Tasks.xml
  12. BIN  tools/nant/NAnt.Core.dll
  13. +3,332 −1,056 tools/nant/NAnt.Core.xml
  14. BIN  tools/nant/NAnt.DotNetTasks.dll
  15. +762 −214 tools/nant/NAnt.DotNetTasks.xml
  16. BIN  tools/nant/NAnt.MSNetTasks.dll
  17. +1 −2  tools/nant/NAnt.MSNetTasks.xml
  18. BIN  tools/nant/NAnt.NUnit.dll
  19. BIN  tools/nant/NAnt.NUnit1Tasks.dll
  20. BIN  tools/nant/NAnt.NUnit2Tasks.dll
  21. +168 −220 tools/nant/NAnt.NUnit2Tasks.xml
  22. BIN  tools/nant/NAnt.SourceControlTasks.dll
  23. +58 −54 tools/nant/NAnt.SourceControlTasks.xml
  24. BIN  tools/nant/NAnt.SvnFunctions.dll
  25. BIN  tools/nant/NAnt.VSNetTasks.dll
  26. +542 −437 tools/nant/NAnt.VSNetTasks.xml
  27. BIN  tools/nant/NAnt.VisualCppTasks.dll
  28. +6 −0 tools/nant/NAnt.VisualCppTasks.xml
  29. BIN  tools/nant/NAnt.Win32Tasks.dll
  30. +114 −4 tools/nant/NAnt.Win32Tasks.xml
  31. BIN  tools/nant/NAnt.exe
  32. +1,951 −909 tools/nant/NAnt.exe.config
  33. +30 −0 tools/nant/NAnt.xml
  34. BIN  tools/nant/NCoverExplorer.NAntTasks.dll
  35. BIN  tools/nant/NDepend.Build.NAntTasks.dll
  36. BIN  tools/nant/NDoc.Documenter.NAnt.dll
  37. +373 −0 tools/nant/NDoc.Documenter.NAnt.xml
  38. BIN  tools/nant/SLiNgshoT.Core.dll
  39. BIN  tools/nant/SLiNgshoT.exe
  40. BIN  tools/nant/extensions/common/2.0/NAnt.MSBuild.dll
  41. +112 −0 tools/nant/extensions/common/2.0/NAnt.MSBuild.xml
  42. BIN  tools/nant/extensions/common/4.0/NAnt.MSBuild.dll
  43. +112 −0 tools/nant/extensions/common/4.0/NAnt.MSBuild.xml
  44. BIN  tools/nant/lib/ICSharpCode.SharpZipLib.dll
  45. BIN  tools/nant/lib/common/2.0/nunit-console-runner.dll
  46. BIN  tools/nant/lib/common/2.0/nunit-console.exe
  47. +31 −0 tools/nant/lib/common/2.0/nunit-console.exe.config
  48. BIN  tools/nant/lib/common/2.0/nunit.core.dll
  49. BIN  tools/nant/lib/common/2.0/nunit.core.interfaces.dll
  50. BIN  tools/nant/lib/common/2.0/nunit.framework.dll
  51. BIN  tools/nant/lib/common/2.0/nunit.util.dll
  52. BIN  tools/nant/lib/{ → common/neutral}/ICSharpCode.SharpCvsLib.Console.dll
  53. BIN  tools/nant/lib/{ → common/neutral}/ICSharpCode.SharpCvsLib.dll
  54. BIN  tools/nant/lib/common/neutral/ICSharpCode.SharpZipLib.dll
  55. BIN  tools/nant/lib/common/neutral/NDoc.Core.dll
  56. BIN  tools/nant/lib/{net/2.0 → common/neutral}/NDoc.Documenter.Msdn.dll
  57. BIN  tools/nant/lib/{net/2.0 → common/neutral}/NDoc.ExtendedUI.dll
  58. 0  tools/nant/lib/{ → common/neutral}/NUnitCore.dll
  59. BIN  tools/nant/lib/common/neutral/netDumbster.dll
  60. BIN  tools/nant/lib/net/2.0/NDoc.Core.dll
  61. BIN  tools/nant/lib/net/2.0/nunit.core.dll
  62. BIN  tools/nant/lib/net/2.0/nunit.framework.dll
  63. BIN  tools/nant/lib/net/2.0/nunit.util.dll
  64. BIN  tools/nant/log4net.dll
  65. BIN  tools/nant/scvs.exe
2  default.build
View
@@ -7,7 +7,7 @@
<property name="dir.bin" value="build" />
<property name="dir.sample" value="${path.base}\src\FluentMigrator.Example" />
<property name="path.dist" value="dist" />
- <property name="build.platform" value="net-3.5" />
+ <property name="build.platform" value="net-4.0" />
<property name="build.config" value="release" />
<property name="major.version" value="1.0" />
<property name="complete.version" value="${major.version}.0.${build.number}" />
2  src/SolutionInfo.cs
View
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.5448
+// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
BIN  tools/nant/MSITaskErrors.mst
View
Binary file not shown
BIN  tools/nant/MSITaskTemplate.msi
View
Binary file not shown
BIN  tools/nant/MSMTaskErrors.mst
View
Binary file not shown
BIN  tools/nant/MSMTaskTemplate.msm
View
Binary file not shown
BIN  tools/nant/NAnt.CommentTasks.dll
View
Binary file not shown
BIN  tools/nant/NAnt.CompressionTasks.dll
View
Binary file not shown
214 tools/nant/NAnt.CompressionTasks.xml
View
@@ -4,6 +4,49 @@
<name>NAnt.CompressionTasks</name>
</assembly>
<members>
+ <member name="T:NAnt.Compression.Tasks.ExpandBaseTask">
+ <summary>
+ Summary description for ExpandTask.
+ </summary>
+ </member>
+ <member name="M:NAnt.Compression.Tasks.ExpandBaseTask.ExtractFile(System.IO.Stream,System.String,System.String,System.DateTime,System.Int64)">
+ <summary>
+ Extracts a file entry from the specified stream.
+ </summary>
+ <param name="inputStream">The <see cref="T:System.IO.Stream"/> containing the compressed entry.</param>
+ <param name="destDirectory">The directory where to store the expanded file.</param>
+ <param name="entryName">The name of the entry including directory information.</param>
+ <param name="entryDate">The date of the entry.</param>
+ <param name="entrySize">The uncompressed size of the entry.</param>
+ <exception cref="T:NAnt.Core.BuildException">
+ <para>The destination directory for the entry could not be created.</para>
+ <para>-or-</para>
+ <para>The entry could not be extracted.</para>
+ </exception>
+ <remarks>
+ We cannot rely on the fact that the directory entry of a given file
+ is created before the file is extracted, so we should create the
+ directory if it doesn't yet exist.
+ </remarks>
+ </member>
+ <member name="M:NAnt.Compression.Tasks.ExpandBaseTask.ExtractDirectory(System.IO.Stream,System.String,System.String,System.DateTime)">
+ <summary>
+ Extracts a directory entry from the specified stream.
+ </summary>
+ <param name="inputStream">The <see cref="T:System.IO.Stream"/> containing the directory entry.</param>
+ <param name="destDirectory">The directory where to create the subdirectory.</param>
+ <param name="entryName">The name of the directory entry.</param>
+ <param name="entryDate">The date of the entry.</param>
+ <exception cref="T:NAnt.Core.BuildException">
+ <para>The destination directory for the entry could not be created.</para>
+ </exception>
+ </member>
+ <member name="P:NAnt.Compression.Tasks.ExpandBaseTask.Overwrite">
+ <summary>
+ Overwrite files, even if they are newer than the corresponding
+ entries in the archive. The default is <see langword="true" />.
+ </summary>
+ </member>
<member name="T:NAnt.Compression.Tasks.GUnzip">
<summary>
Expands a file packed using GZip compression.
@@ -74,6 +117,13 @@
<see langword="false" />.
</summary>
</member>
+ <member name="P:NAnt.Compression.Tasks.TarTask.Flatten">
+ <summary>
+ Ignore directory structure of source directory, compress all files
+ into a single directory.
+ The default value is <see langword="false" />.
+ </summary>
+ </member>
<member name="P:NAnt.Compression.Tasks.TarTask.TarFileSets">
<summary>
The set of files to be included in the archive.
@@ -81,35 +131,58 @@
</member>
<member name="P:NAnt.Compression.Tasks.TarTask.CompressionMethod">
<summary>
- The compression method. The default is <see cref="F:NAnt.Compression.Tasks.TarCompressionMethod.None"/>.
+ The compression method. The default is <see cref="F:NAnt.Compression.Types.TarCompressionMethod.None"/>.
</summary>
</member>
- <member name="T:NAnt.Compression.Tasks.TarCompressionMethod">
+ <member name="T:NAnt.Compression.Tasks.UnTarTask">
<summary>
- Specifies the compression methods supported by <see cref="T:NAnt.Compression.Tasks.TarTask"/>.
+ Extracts files from a tar archive.
</summary>
+ <remarks>
+ <para>
+ Uses <see href="http://www.icsharpcode.net/OpenSource/SharpZipLib/">#ziplib</see>
+ (SharpZipLib), an open source Zip/GZip library written entirely in C#.
+ </para>
+ </remarks>
+ <example>
+ <para>Extracts all files from a gzipped tar, preserving the directory structure.</para>
+ <code>
+ <![CDATA[
+ <untar src="nant-bin.tar.gz" dest="bin" compression="gzip" />
+ ]]>
+ </code>
+ </example>
</member>
- <member name="F:NAnt.Compression.Tasks.TarCompressionMethod.None">
+ <member name="M:NAnt.Compression.Tasks.UnTarTask.ExecuteTask">
<summary>
- No compression.
+ Extracts the files from the archive.
</summary>
</member>
- <member name="F:NAnt.Compression.Tasks.TarCompressionMethod.GZip">
+ <member name="P:NAnt.Compression.Tasks.UnTarTask.SrcFile">
<summary>
- GZIP compression.
+ The archive file to expand.
</summary>
</member>
- <member name="F:NAnt.Compression.Tasks.TarCompressionMethod.BZip2">
+ <member name="P:NAnt.Compression.Tasks.UnTarTask.DestinationDirectory">
<summary>
- BZIP2 compression.
+ The directory where to store the expanded file(s). The default is
+ the project base directory.
+ </summary>
+ </member>
+ <member name="P:NAnt.Compression.Tasks.UnTarTask.CompressionMethod">
+ <summary>
+ The compression method. The default is <see cref="F:NAnt.Compression.Types.TarCompressionMethod.None"/>.
</summary>
</member>
<member name="T:NAnt.Compression.Tasks.UnZipTask">
<summary>
- Extracts files from a zip file.
+ Extracts files from a zip archive.
</summary>
<remarks>
- <para>Uses <see href="http://www.icsharpcode.net/OpenSource/SharpZipLib/">#ziplib</see> (SharpZipLib), an open source Zip/GZip library written entirely in C#.</para>
+ <para>
+ Uses <see href="http://www.icsharpcode.net/OpenSource/SharpZipLib/">#ziplib</see>
+ (SharpZipLib), an open source Zip/GZip library written entirely in C#.
+ </para>
</remarks>
<example>
<para>Extracts all the file from the zip, preserving the directory structure.</para>
@@ -125,36 +198,6 @@
Extracts the files from the zip file.
</summary>
</member>
- <member name="M:NAnt.Compression.Tasks.UnZipTask.ExtractFile(System.IO.Stream,System.String,System.DateTime,System.Int64)">
- <summary>
- Extracts a file entry from the specified stream.
- </summary>
- <param name="inputStream">The <see cref="T:System.IO.Stream"/> containing the compressed entry.</param>
- <param name="entryName">The name of the entry including directory information.</param>
- <param name="entryDate">The date of the entry.</param>
- <param name="entrySize">The uncompressed size of the entry.</param>
- <exception cref="T:NAnt.Core.BuildException">
- <para>The destination directory for the entry could not be created.</para>
- <para>-or-</para>
- <para>The entry could not be extracted.</para>
- </exception>
- <remarks>
- We cannot rely on the fact that the directory entry of a given file
- is created before the file is extracted, so we should create the
- directory if it doesn't yet exist.
- </remarks>
- </member>
- <member name="M:NAnt.Compression.Tasks.UnZipTask.ExtractDirectory(System.IO.Stream,System.String,System.DateTime)">
- <summary>
- Extracts a directory entry from the specified stream.
- </summary>
- <param name="inputStream">The <see cref="T:System.IO.Stream"/> containing the directory entry.</param>
- <param name="entryName">The name of the directory entry.</param>
- <param name="entryDate">The date of the entry.</param>
- <exception cref="T:NAnt.Core.BuildException">
- <para>The destination directory for the entry could not be created.</para>
- </exception>
- </member>
<member name="P:NAnt.Compression.Tasks.UnZipTask.ZipFile">
<summary>
The archive file to expand.
@@ -166,12 +209,6 @@
default is the project base directory.
</summary>
</member>
- <member name="P:NAnt.Compression.Tasks.UnZipTask.Overwrite">
- <summary>
- Overwrite files, even if they are newer than the corresponding
- entries in the archive. The default is <see langword="true" />.
- </summary>
- </member>
<member name="P:NAnt.Compression.Tasks.UnZipTask.Encoding">
<summary>
The character encoding that has been used for filenames inside the
@@ -183,7 +220,10 @@
Creates a zip file from the specified filesets.
</summary>
<remarks>
- <para>Uses <see href="http://www.icsharpcode.net/OpenSource/SharpZipLib/">#ziplib</see> (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.</para>
+ <para>
+ Uses <see href="http://www.icsharpcode.net/OpenSource/SharpZipLib/">#ziplib</see>
+ (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#.
+ </para>
</remarks>
<example>
<para>
@@ -236,6 +276,13 @@
<see langword="false" />.
</summary>
</member>
+ <member name="P:NAnt.Compression.Tasks.ZipTask.Flatten">
+ <summary>
+ Ignore directory structure of source directory, compress all files
+ into a single directory.
+ The default value is <see langword="false" />.
+ </summary>
+ </member>
<member name="P:NAnt.Compression.Tasks.ZipTask.ZipFileSets">
<summary>
The set of files to be included in the archive.
@@ -244,7 +291,7 @@
<member name="P:NAnt.Compression.Tasks.ZipTask.DuplicateHandling">
<summary>
Specifies the behaviour when a duplicate file is found. The default
- is <see cref="F:NAnt.Compression.Types.DuplicateHandling.Add"/>.
+ is <see cref="T:NAnt.Compression.Types.DuplicateHandling.Add" />.
</summary>
</member>
<member name="P:NAnt.Compression.Tasks.ZipTask.Encoding">
@@ -273,6 +320,75 @@
Report failure when two entries have the same name.
</summary>
</member>
+ <member name="T:NAnt.Compression.Types.DuplicateHandlingConverter">
+ <summary>
+ Specialized <see cref="T:System.ComponentModel.EnumConverter"/> for <see cref="T:NAnt.Compression.Types.TarCompressionMethod"/>
+ that ignores case when converting from string.
+ </summary>
+ </member>
+ <member name="M:NAnt.Compression.Types.DuplicateHandlingConverter.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Compression.Types.DuplicateHandlingConverter"/>
+ class.
+ </summary>
+ </member>
+ <member name="M:NAnt.Compression.Types.DuplicateHandlingConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
+ <summary>
+ Converts the given object to the type of this converter, using the
+ specified context and culture information.
+ </summary>
+ <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that provides a format context.</param>
+ <param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> object. If a <see langword="null"/> is passed, the current culture is assumed.</param>
+ <param name="value">The <see cref="T:System.Object"/> to convert.</param>
+ <returns>
+ An <see cref="T:System.Object"/> that represents the converted value.
+ </returns>
+ </member>
+ <member name="T:NAnt.Compression.Types.TarCompressionMethod">
+ <summary>
+ Specifies the compression methods supported by <see cref="T:NAnt.Compression.Tasks.TarTask"/>
+ and <see cref="T:NAnt.Compression.Tasks.UnTarTask"/>.
+ </summary>
+ </member>
+ <member name="F:NAnt.Compression.Types.TarCompressionMethod.None">
+ <summary>
+ No compression.
+ </summary>
+ </member>
+ <member name="F:NAnt.Compression.Types.TarCompressionMethod.GZip">
+ <summary>
+ GZIP compression.
+ </summary>
+ </member>
+ <member name="F:NAnt.Compression.Types.TarCompressionMethod.BZip2">
+ <summary>
+ BZIP2 compression.
+ </summary>
+ </member>
+ <member name="T:NAnt.Compression.Types.TarCompressionMethodConverter">
+ <summary>
+ Specialized <see cref="T:System.ComponentModel.EnumConverter"/> for <see cref="T:NAnt.Compression.Types.TarCompressionMethod"/>
+ that ignores case when converting from string.
+ </summary>
+ </member>
+ <member name="M:NAnt.Compression.Types.TarCompressionMethodConverter.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Compression.Types.TarCompressionMethodConverter"/>
+ class.
+ </summary>
+ </member>
+ <member name="M:NAnt.Compression.Types.TarCompressionMethodConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
+ <summary>
+ Converts the given object to the type of this converter, using the
+ specified context and culture information.
+ </summary>
+ <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that provides a format context.</param>
+ <param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> object. If a <see langword="null"/> is passed, the current culture is assumed.</param>
+ <param name="value">The <see cref="T:System.Object"/> to convert.</param>
+ <returns>
+ An <see cref="T:System.Object"/> that represents the converted value.
+ </returns>
+ </member>
<member name="T:NAnt.Compression.Types.TarFileSet">
<summary>
A <see cref="T:NAnt.Compression.Types.TarFileSet"/> is a <see cref="T:NAnt.Core.Types.FileSet"/> with extra
BIN  tools/nant/NAnt.Contrib.Tasks.dll
View
Binary file not shown
7,182 tools/nant/NAnt.Contrib.Tasks.xml
View
3,734 additions, 3,448 deletions not shown
BIN  tools/nant/NAnt.Core.dll
View
Binary file not shown
4,388 tools/nant/NAnt.Core.xml
View
3,332 additions, 1,056 deletions not shown
BIN  tools/nant/NAnt.DotNetTasks.dll
View
Binary file not shown
976 tools/nant/NAnt.DotNetTasks.xml
View
@@ -135,7 +135,7 @@
</summary>
</member>
<member name="T:NAnt.DotNet.Tasks.AssemblyInfoTask.CodeProvider">
- <summary>
+ <summary>
Encapsulates functionality to generate a code file with imports
and assembly-level attributes.
</summary>
@@ -215,13 +215,31 @@
<para>A <see cref="T:System.Type"/> identified by <paramref name="typename"/> could not be located or loaded.</para>
</exception>
</member>
+ <member name="M:NAnt.DotNet.Tasks.AssemblyInfoTask.TypedValueGatherer.FindType(System.Collections.Specialized.StringCollection,System.Collections.Specialized.StringCollection,System.String)">
+ <summary>
+ Finds a given type from a given list of assemblies and import statements.
+ </summary>
+ <param name='assemblies'>
+ A list of assemblies to search for a given type.
+ </param>
+ <param name='imports'>
+ A list of import statements to search for a given type.
+ </param>
+ <param name='typename'>
+ The name of the type to locate.
+ </param>
+ <returns>
+ The type object found from assemblies and import statements based
+ on the name of the type.
+ </returns>
+ </member>
<member name="T:NAnt.DotNet.Tasks.AssemblyLinkerTask">
<summary>
Wraps <c>al.exe</c>, the assembly linker for the .NET Framework.
</summary>
<remarks>
<para>
- All specified sources will be embedded using the <c>/embed</c> flag.
+ All specified sources will be embedded using the <c>/embed</c> flag.
Other source types are not supported.
</para>
</remarks>
@@ -239,6 +257,21 @@
]]>
</code>
</example>
+ <example>
+ <para>
+ Create an executable assembly manifest from modules.
+ </para>
+ <code>
+ <![CDATA[
+ <al output="Client.exe" target="exe" main="Program.Main">
+ <modules>
+ <include name="Client.netmodule" />
+ <include name="Common.netmodule" />
+ </modules>
+ </al>
+ ]]>
+ </code>
+ </example>
</member>
<member name="M:NAnt.DotNet.Tasks.AssemblyLinkerTask.ExecuteTask">
<summary>
@@ -312,7 +345,7 @@
<member name="P:NAnt.DotNet.Tasks.AssemblyLinkerTask.DelaySign">
<summary>
Specifies whether the assembly should be partially signed. The default
- is <see langword="false" />.
+ is <see langword="NAnt.DotNet.Types.DelaySign.NotSet" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Tasks.AssemblyLinkerTask.Description">
@@ -386,6 +419,11 @@
entry point when converting a module to an executable file.
</value>
</member>
+ <member name="P:NAnt.DotNet.Tasks.AssemblyLinkerTask.ModuleSet">
+ <summary>
+ One or more modules to be compiled into an assembly.
+ </summary>
+ </member>
<member name="P:NAnt.DotNet.Tasks.AssemblyLinkerTask.OutputFile">
<summary>
The name of the output file for the assembly manifest.
@@ -628,7 +666,7 @@
<param name="name">The name of the option which should be passed to the compiler.</param>
<param name="value">The value of the option which should be passed to the compiler.</param>
<remarks>
- The combination of <paramref name="option"/> and
+ The combination of <paramref name="name"/> and
<paramref name="value"/> (separated by a colon) is quoted
unless <paramref name="value"/> is already surrounded by quotes.
</remarks>
@@ -720,6 +758,16 @@
</para>
</remarks>
</member>
+ <member name="P:NAnt.DotNet.Tasks.CompilerBase.Win32Res">
+ <summary>
+ Specifies a Win32 resource file (.res).
+ </summary>
+ <remarks>
+ <para>
+ Corresponds to <c>/win32res[ource]:</c> flag.
+ </para>
+ </remarks>
+ </member>
<member name="P:NAnt.DotNet.Tasks.CompilerBase.WarnAsError">
<summary>
Instructs the compiler to treat all warnings as errors. The default
@@ -796,6 +844,13 @@
Specifies a strong name key file.
</summary>
</member>
+ <member name="P:NAnt.DotNet.Tasks.CompilerBase.DelaySign">
+ <summary>
+ Specifies whether to delay sign the assembly using only the public
+ portion of the strong name key. The default is
+ <see cref="T:NAnt.DotNet.Types.DelaySign.NotSet" />.
+ </summary>
+ </member>
<member name="P:NAnt.DotNet.Tasks.CompilerBase.Lib">
<summary>
Additional directories to search in for assembly references.
@@ -885,6 +940,12 @@
the "keyfile" option. The default is <see langword="false" />.
</summary>
</member>
+ <member name="P:NAnt.DotNet.Tasks.CompilerBase.SupportsDelaySign">
+ <summary>
+ Indicates whether the compiler for a given target framework supports
+ the "delaysign" option. The default is <see langword="false" />.
+ </summary>
+ </member>
<member name="P:NAnt.DotNet.Tasks.CompilerBase.Extension">
<summary>
Gets the file extension required by the current compiler.
@@ -1057,7 +1118,7 @@
<member name="P:NAnt.DotNet.Tasks.CscTask.DebugOutput">
<summary>
Specifies the type of debugging information generated by the
- compiler. The default is <see cref="F:NAnt.DotNet.Types.DebugOutput.None"/>.
+ compiler. The default is <see cref="T:NAnt.DotNet.Types.DebugOutput.None" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Tasks.CscTask.Debug">
@@ -1448,7 +1509,7 @@
the PE header.
</summary>
<value>
- An <see cref="T:System.Int32"/> that represents the <i>FileAlignment</i>
+ An <see cref="T:System.Int32" /> that represents the <i>FileAlignment</i>
value to set in the PE header. The value must be a power of 2, in
range from 512 to 65536.
</value>
@@ -1464,7 +1525,7 @@
the PE header.
</summary>
<value>
- A <see cref="T:System.Int32"/> that represents the <i>ImageBase</i>
+ A <see cref="T:System.Int32" /> that represents the <i>ImageBase</i>
value to set in the PE header.
</value>
<remarks>
@@ -1479,7 +1540,7 @@
header.
</summary>
<value>
- An <see cref="T:System.Int32"/> that represents the <i>Flags</i>
+ An <see cref="T:System.Int32" /> that represents the <i>Flags</i>
value to set in the CLR header. The most frequently value are 1
(pre-IL code) and 2 (mixed code). The third bit indicating that
the PE file is strong signed, is ignored.
@@ -1496,7 +1557,7 @@
header.
</summary>
<value>
- An <see cref="T:System.Int32"/> that represents the <i>Subsystem</i>
+ An <see cref="T:System.Int32" /> that represents the <i>Subsystem</i>
value to set in the PE header. The most frequently value are 3
(console application) and 2 (GUI application).
</value>
@@ -1511,7 +1572,7 @@
Specifies which output type should be generated.
</summary>
<value>
- A <see cref="T:System.String"/> that contains the target type.
+ A <see cref="T:System.String" /> that contains the target type.
Possible values are <c>dll</c> and <c>exe</c>.
</value>
<remarks>
@@ -1526,7 +1587,7 @@
file.
</summary>
<value>
- A <see cref="T:System.String"/> that contains the private
+ A <see cref="T:System.String" /> that contains the private
encryption key.
</value>
<remarks>
@@ -1542,7 +1603,7 @@
file.
</summary>
<value>
- A <see cref="T:System.IO.FileInfo"/> that represents the file
+ A <see cref="T:System.IO.FileInfo" /> that represents the file
containing the private encryption key.
</value>
<remarks>
@@ -1557,7 +1618,7 @@
Specifies the name of the output file created by the compiler.
</summary>
<value>
- A <see cref="T:System.IO.FileInfo"/> that represents the name of
+ A <see cref="T:System.IO.FileInfo" /> that represents the name of
the output file.
</value>
<remarks>
@@ -1572,7 +1633,7 @@
file into the resulting PE file.
</summary>
<value>
- A <see cref="T:System.IO.FileInfo"/> that represents the unmanaged
+ A <see cref="T:System.IO.FileInfo" /> that represents the unmanaged
resource file to link.
</value>
<remarks>
@@ -1586,7 +1647,7 @@
Specifies the set of source files to compile.
</summary>
<value>
- A <see cref="T:NAnt.Core.Types.FileSet"/> that represents the set
+ A <see cref="T:NAnt.Core.Types.FileSet" /> that represents the set
of source files to compile.
</value>
</member>
@@ -1595,7 +1656,7 @@
Gets the command-line arguments for the external program.
</summary>
<value>
- A <see cref="T:System.String"/> that contains the command-line
+ A <see cref="T:System.String" /> that contains the command-line
arguments for the external program.
</value>
</member>
@@ -1628,6 +1689,30 @@
</summary>
<param name="writer"><see cref="T:System.IO.TextWriter"/> to which the compiler options should be written.</param>
</member>
+ <member name="P:NAnt.DotNet.Tasks.JscTask.AutoRef">
+ <summary>
+ Automatically references assemblies if they have the same name as
+ an imported namespace or as a type annotation when declaring a
+ variable. The default is <see langword="false" />.
+ </summary>
+ <remarks>
+ <para>
+ Corresponds with the <c>/autoref</c> flag.
+ </para>
+ </remarks>
+ </member>
+ <member name="P:NAnt.DotNet.Tasks.JscTask.NoStdLib">
+ <summary>
+ Instructs the compiler not to import standard library, and changes
+ <see cref="P:NAnt.DotNet.Tasks.JscTask.AutoRef"/> to <see langword="false"/>. The default is
+ <see langword="false"/>.
+ </summary>
+ <remarks>
+ <para>
+ Corresponds with the <c>/noconfig</c> flag.
+ </para>
+ </remarks>
+ </member>
<member name="P:NAnt.DotNet.Tasks.JscTask.Platform">
<summary>
Specifies which platform version of common language runtime (CLR)
@@ -1643,6 +1728,17 @@
</para>
</remarks>
</member>
+ <member name="P:NAnt.DotNet.Tasks.JscTask.VersionSafe">
+ <summary>
+ Causes the compiler to generate errors for implicit method
+ overrides. The default is <see langword="false" />.
+ </summary>
+ <remarks>
+ <para>
+ Corresponds with the <c>/versionsafe</c> flag.
+ </para>
+ </remarks>
+ </member>
<member name="P:NAnt.DotNet.Tasks.JscTask.WarningLevel">
<summary>
Specifies the warning level for the compiler to display. Valid
@@ -1715,6 +1811,16 @@
does not support this.
</remarks>
</member>
+ <member name="P:NAnt.DotNet.Tasks.JscTask.DelaySign">
+ <summary>
+ Specifies whether to delay sign the assembly using only the public
+ portion of the strong name key.
+ </summary>
+ <remarks>
+ Override to avoid exposing this to build authors, as the JScript.NET
+ does not support this.
+ </remarks>
+ </member>
<member name="P:NAnt.DotNet.Tasks.JscTask.SupportsKeyContainer">
<summary>
Indicates whether the compiler for a given target framework supports
@@ -1741,6 +1847,19 @@
does not support this.
</remarks>
</member>
+ <member name="P:NAnt.DotNet.Tasks.JscTask.SupportsDelaySign">
+ <summary>
+ Indicates whether the compiler for a given target framework supports
+ the "delaysign" option. The default is <see langword="false" />.
+ </summary>
+ <value>
+ <see langword="false" />.
+ </value>
+ <remarks>
+ Override to avoid exposing this to build authors, as the JScript.NET
+ does not support this.
+ </remarks>
+ </member>
<member name="P:NAnt.DotNet.Tasks.JscTask.SupportsPlatform">
<summary>
Specifies whether the compiler for the active target framework
@@ -1806,11 +1925,10 @@
</code>
</example>
</member>
- <member name="M:NAnt.DotNet.Tasks.LicenseTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.DotNet.Tasks.LicenseTask.Initialize">
<summary>
Initializes the <see cref="T:NAnt.DotNet.Tasks.LicenseTask"/> class.
</summary>
- <param name="taskNode">The <see cref="T:System.Xml.XmlNode"/> used to initialize the task.</param>
</member>
<member name="M:NAnt.DotNet.Tasks.LicenseTask.PrepareProcess(System.Diagnostics.Process)">
<summary>
@@ -1986,7 +2104,6 @@
<documenter name="MSDN">
<property name="OutputDirectory" value="doc\MSDN" />
<property name="HtmlHelpName" value="NAnt" />
- <property name="HtmlHelpCompilerFilename" value="hhc.exe" />
<property name="IncludeFavorites" value="False" />
<property name="Title" value="An NDoc Documented Class Library" />
<property name="SplitTOCs" value="False" />
@@ -2024,11 +2141,10 @@
</code>
</example>
</member>
- <member name="M:NAnt.DotNet.Tasks.NDocTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.DotNet.Tasks.NDocTask.Initialize">
<summary>
Initializes the taks and verifies the parameters.
</summary>
- <param name="taskNode"><see cref="T:System.Xml.XmlNode"/> containing the XML fragment used to define this task instance.</param>
</member>
<member name="M:NAnt.DotNet.Tasks.NDocTask.ExecuteTask">
<summary>
@@ -2068,6 +2184,21 @@
</summary>
<param name="nodes"><see cref="T:System.Xml.XmlNodeList"/> for which expansion should be performed.</param>
</member>
+ <member name="M:NAnt.DotNet.Tasks.NDocTask.SetHtmlHelpCompiler(System.Object,System.String)">
+ <summary>
+ Use Reflection to set HtmplHelp._htmlHelpCompiler private field for MSDN Documentor.
+ Ndoc could not handle 64bit installations and is not actively developed anymore.
+ </summary>
+ <param name="sender">Active documentor</param>
+ <param name="hhcexe">Path to hhc.exe</param>
+ </member>
+ <member name="M:NAnt.DotNet.Tasks.NDocTask.ResolveHhcExe">
+ <summary>
+ Searches in %ProgramFiles(x86)%\HTML Help Workshop and %ProgramFiles%\HTML Help Workshop
+ for hhc.exe. If not found let ndoc msdn documentor search itself
+ </summary>
+ <returns>the path to hhc.exe if found, null otherwise</returns>
+ </member>
<member name="P:NAnt.DotNet.Tasks.NDocTask.Assemblies">
<summary>
The set of assemblies to document.
@@ -2335,7 +2466,7 @@
</returns>
<remarks>
This check will only be accurate for 1.0 resource file, but the
- 2.0 resx files can only be compiled with a resgen tool that supported
+ 2.0 resx files can only be compiled with a resgen tool that supports
assembly references, so this method will not be used anyway.
</remarks>
</member>
@@ -2467,192 +2598,205 @@
</value>
</member>
<member name="T:NAnt.DotNet.Tasks.ScriptTask">
- <summary>
- Executes the code contained within the task. This code can include custom extension function definitions.
- Once the script task has executed those custom functions will be available for use in the buildfile.
- </summary>
- <remarks>
- <para>
- The <see cref="T:NAnt.DotNet.Tasks.ScriptTask"/> must contain a single <c>code</c>
- element, which in turn contains the script code.
- </para>
- <para>
- A static entry point named <c>ScriptMain</c> is required if no custom functions have been defined. It must
- have a single <see cref="T:NAnt.Core.Project"/> parameter.
- </para>
- <para>
- The following namespaces are loaded by default:
- </para>
- <list type="bullet">
- <item>
- <description>System</description>
- </item>
- <item>
- <description>System.Collections</description>
- </item>
- <item>
- <description>System.Collections.Specialized</description>
- </item>
- <item>
- <description>System.IO</description>
- </item>
- <item>
- <description>System.Text</description>
- </item>
- <item>
- <description>System.Text.RegularExpressions</description>
- </item>
- <item>
- <description>NAnt.Core</description>
- </item>
- </list>
- </remarks>
- <example>
- <para>Run C# code that writes a message to the build log.</para>
- <code>
- &lt;script language="C#"&gt;
- &lt;code&gt;
- &lt;![CDATA[
- public static void ScriptMain(Project project) {
- project.Log(Level.Info, "Hello World from a script task using C#");
- }
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- </code>
- </example>
- <example>
- <para>Define a custom function and call it using C#.</para>
- <code>
- &lt;script language="C#" prefix="test" &gt;
- &lt;code&gt;
- &lt;![CDATA[
- [Function("test-func")]
- public static string Testfunc( ) {
- return "some result !!!!!!!!";
- }
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- &lt;echo message='${test::test-func()}'/&gt;
- </code>
- </example>
- <example>
- <para>Use a custom namespace in C# to create a database</para>
- <code>
- &lt;script language="C#" &gt;
- &lt;references&gt;
- &lt;include name="System.Data.dll" /&gt;
- &lt;/references&gt;
- &lt;imports&gt;
- &lt;import namespace="System.Data.SqlClient" /&gt;
- &lt;/imports&gt;
- &lt;code&gt;
- &lt;![CDATA[
- public static void ScriptMain(Project project) {
- string dbUserName = "nant";
- string dbPassword = "nant";
- string dbServer = "(local)";
- string dbDatabaseName = "NAntSample";
- string connectionString = String.Format("Server={0};uid={1};pwd={2};", dbServer, dbUserName, dbPassword);
-
- SqlConnection connection = new SqlConnection(connectionString);
- string createDbQuery = "CREATE DATABASE " + dbDatabaseName;
- SqlCommand createDatabaseCommand = new SqlCommand(createDbQuery);
- createDatabaseCommand.Connection = connection;
-
- connection.Open();
-
- try {
- createDatabaseCommand.ExecuteNonQuery();
- project.Log(Level.Info, "Database added successfully: " + dbDatabaseName);
- } catch (Exception e) {
- project.Log(Level.Error, e.ToString());
- } finally {
- connection.Close();
- }
- }
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- </code>
- </example>
- <example>
- <para>
- Run Visual Basic.NET code that writes a message to the build log.
- </para>
- <code>
- &lt;script language="VB"&gt;
- &lt;code&gt;
- &lt;![CDATA[
- Public Shared Sub ScriptMain(project As Project)
- project.Log(Level.Info, "Hello World from a script task using Visual Basic.NET")
- End Sub
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- </code>
- </example>
- <example>
- <para>Define a custom task and call it using C#.</para>
- <code>
- &lt;script language="C#" prefix="test" &gt;
- &lt;code&gt;
- &lt;![CDATA[
- [TaskName("usertask")]
- public class TestTask : Task {
- #region Private Instance Fields
+ <summary>
+ Executes the code contained within the task.
+ </summary>
+ <remarks>
+ <h5>Code</h5>
+ <para>
+ The <see cref="T:NAnt.DotNet.Tasks.ScriptTask"/> must contain a single <c>code</c>
+ element, which in turn contains the script code.
+ </para>
+ <para>
+ This code can include extensions such as functions, or tasks. Once
+ the script task has executed those extensions will be available for
+ use in the buildfile.
+ </para>
+ <para>
+ If no extensions have been defined, a static entry point named
+ <c>ScriptMain</c> - which must have a single <see cref="T:NAnt.Core.Project"/>
+ argument - is required.
+ </para>
+ <h5>Namespaces</h5>
+ <para>
+ The following namespaces are imported by default:
+ </para>
+ <list type="bullet">
+ <item>
+ <description>System</description>
+ </item>
+ <item>
+ <description>System.Collections</description>
+ </item>
+ <item>
+ <description>System.IO</description>
+ </item>
+ <item>
+ <description>System.Text</description>
+ </item>
+ <item>
+ <description>NAnt.Core</description>
+ </item>
+ <item>
+ <description>NAnt.Core.Attributes</description>
+ </item>
+ </list>
+ <h5>Assembly References</h5>
+ <para>
+ The assembly references that are specified will be used to compile
+ the script, and will be loaded into the NAnt appdomain.
+ </para>
+ <para>
+ By default, only the <c>NAnt.Core</c> and <c>mscorlib</c> assemblies
+ are referenced.
+ </para>
+ </remarks>
+ <example>
+ <para>Run C# code that writes a message to the build log.</para>
+ <code>
+ &lt;script language="C#"&gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+ public static void ScriptMain(Project project) {
+ project.Log(Level.Info, "Hello World from a script task using C#");
+ }
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ </code>
+ </example>
+ <example>
+ <para>Define a custom function and call it using C#.</para>
+ <code>
+ &lt;script language="C#" prefix="test" &gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+ [Function("test-func")]
+ public static string Testfunc( ) {
+ return "some result !!!!!!!!";
+ }
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ &lt;echo message='${test::test-func()}'/&gt;
+ </code>
+ </example>
+ <example>
+ <para>Use a custom namespace in C# to create a database</para>
+ <code>
+ &lt;script language="C#" &gt;
+ &lt;references&gt;
+ &lt;include name="System.Data.dll" /&gt;
+ &lt;/references&gt;
+ &lt;imports&gt;
+ &lt;import namespace="System.Data.SqlClient" /&gt;
+ &lt;/imports&gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+ public static void ScriptMain(Project project) {
+ string dbUserName = "nant";
+ string dbPassword = "nant";
+ string dbServer = "(local)";
+ string dbDatabaseName = "NAntSample";
+ string connectionString = String.Format("Server={0};uid={1};pwd={2};", dbServer, dbUserName, dbPassword);
+
+ SqlConnection connection = new SqlConnection(connectionString);
+ string createDbQuery = "CREATE DATABASE " + dbDatabaseName;
+ SqlCommand createDatabaseCommand = new SqlCommand(createDbQuery);
+ createDatabaseCommand.Connection = connection;
+
+ connection.Open();
+
+ try {
+ createDatabaseCommand.ExecuteNonQuery();
+ project.Log(Level.Info, "Database added successfully: " + dbDatabaseName);
+ } catch (Exception e) {
+ project.Log(Level.Error, e.ToString());
+ } finally {
+ connection.Close();
+ }
+ }
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ </code>
+ </example>
+ <example>
+ <para>
+ Run Visual Basic.NET code that writes a message to the build log.
+ </para>
+ <code>
+ &lt;script language="VB"&gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+ Public Shared Sub ScriptMain(project As Project)
+ project.Log(Level.Info, "Hello World from a script task using Visual Basic.NET")
+ End Sub
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ </code>
+ </example>
+ <example>
+ <para>Define a custom task and call it using C#.</para>
+ <code>
+ &lt;script language="C#" prefix="test" &gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+ [TaskName("usertask")]
+ public class TestTask : Task {
+ #region Private Instance Fields
- private string _message;
+ private string _message;
- #endregion Private Instance Fields
+ #endregion Private Instance Fields
- #region Public Instance Properties
+ #region Public Instance Properties
- [TaskAttribute("message", Required=true)]
- public string FileName {
- get { return _message; }
- set { _message = value; }
- }
+ [TaskAttribute("message", Required=true)]
+ public string FileName {
+ get { return _message; }
+ set { _message = value; }
+ }
- #endregion Public Instance Properties
+ #endregion Public Instance Properties
- #region Override implementation of Task
+ #region Override implementation of Task
- protected override void ExecuteTask() {
- Log(Level.Info, _message.ToUpper());
- }
- #endregion Override implementation of Task
- }
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- &lt;usertask message='Hello from UserTask'/&gt;
- </code>
- </example>
- <example>
- <para>
- Define a custom function and call it using <see href="http://boo.codehaus.org/">Boo</see>.
- </para>
- <code>
- &lt;script language="Boo.CodeDom.BooCodeProvider, Boo.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67"
- failonerror="true"&gt;
- &lt;code&gt;
- &lt;![CDATA[
-
- [Function("test-func")]
- def MyFunc():
- return "Hello from Boo !!!!!!"
- ]]&gt;
- &lt;/code&gt;
- &lt;/script&gt;
- &lt;echo message='${script::test-func()}'/&gt;
- </code>
- </example>
- </member>
- <member name="M:NAnt.DotNet.Tasks.ScriptTask.InitializeTask(System.Xml.XmlNode)">
- <summary>
- Initializes the task using the specified xml node.
+ protected override void ExecuteTask() {
+ Log(Level.Info, _message.ToUpper());
+ }
+ #endregion Override implementation of Task
+ }
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ &lt;usertask message='Hello from UserTask'/&gt;
+ </code>
+ </example>
+ <example>
+ <para>
+ Define a custom function and call it using <see href="http://boo.codehaus.org/">Boo</see>.
+ </para>
+ <code>
+ &lt;script language="Boo.CodeDom.BooCodeProvider, Boo.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67"
+ failonerror="true"&gt;
+ &lt;code&gt;
+ &lt;![CDATA[
+
+ [Function("test-func")]
+ def MyFunc():
+ return "Hello from Boo !!!!!!"
+ ]]&gt;
+ &lt;/code&gt;
+ &lt;/script&gt;
+ &lt;echo message='${script::test-func()}'/&gt;
+ </code>
+ </example>
+ </member>
+ <member name="M:NAnt.DotNet.Tasks.ScriptTask.Initialize">
+ <summary>
+ Initializes the task.
</summary>
</member>
<member name="M:NAnt.DotNet.Tasks.ScriptTask.ExecuteTask">
@@ -2664,7 +2808,7 @@
<summary>
The language of the script block. Possible values are "VB", "vb", "VISUALBASIC", "C#", "c#", "CSHARP".
"JS", "js", "JSCRIPT" "VJS", "vjs", "JSHARP" or a fully-qualified name for a class implementing
- <see cref="T:System.CodeDom.Compiler.CodeDomProvider"/>.
+ <see cref="T:System.CodeDom.Compiler.CodeDomProvider" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Tasks.ScriptTask.References">
@@ -2789,7 +2933,7 @@
<member name="P:NAnt.DotNet.Tasks.VbcTask.DebugOutput">
<summary>
Specifies the type of debugging information generated by the
- compiler. The default is <see cref="F:NAnt.DotNet.Types.DebugOutput.None"/>.
+ compiler. The default is <see cref="T:NAnt.DotNet.Types.DebugOutput.None" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Tasks.VbcTask.Debug">
@@ -3039,7 +3183,7 @@
<member name="P:NAnt.DotNet.Tasks.VjcTask.DebugOutput">
<summary>
Specifies the type of debugging information generated by the
- compiler. The default is <see cref="F:NAnt.DotNet.Types.DebugOutput.None"/>.
+ compiler. The default is <see cref="T:NAnt.DotNet.Types.DebugOutput.None" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Tasks.VjcTask.Debug">
@@ -3468,10 +3612,15 @@
</item>
<item>
<description>
- The assembly directory of the current target framework.
+ The list of reference assemblies of the current target framework.
</description>
</item>
</list>
+ <para>
+ The reference assemblies of a given target framework are defined using
+ &lt;reference-assemblies&gt; filesets in the &lt;framework&gt; node
+ of the NAnt configuration file.
+ </para>
</remarks>
<example>
<para>
@@ -3798,6 +3947,74 @@
An <see cref="T:System.Object"/> that represents the converted value.
</returns>
</member>
+ <member name="T:NAnt.DotNet.Types.DelaySign">
+ <summary>
+ Specifies whether the generated assembly is strongly named and will
+ be signed later.
+ </summary>
+ <remarks>
+ <para>
+ For backward compatibility, the following string values can also be
+ used in build files:
+ </para>
+ <list type="table">
+ <listheader>
+ <term>Value</term>
+ <description>Corresponding field</description>
+ </listheader>
+ <item>
+ <term>"true"</term>
+ <description><see cref="F:NAnt.DotNet.Types.DelaySign.Yes"/></description>
+ </item>
+ <item>
+ <term>"false"</term>
+ <description><see cref="F:NAnt.DotNet.Types.DelaySign.No"/></description>
+ </item>
+ </list>
+ </remarks>
+ </member>
+ <member name="F:NAnt.DotNet.Types.DelaySign.NotSet">
+ <summary>
+ Not specified.
+ </summary>
+ </member>
+ <member name="F:NAnt.DotNet.Types.DelaySign.No">
+ <summary>
+ Fully sign the assembly.
+ </summary>
+ </member>
+ <member name="F:NAnt.DotNet.Types.DelaySign.Yes">
+ <summary>
+ Only place the public key in the assembly, allowing the signature
+ to be added later.
+ </summary>
+ </member>
+ <member name="T:NAnt.DotNet.Types.DelaySignConverter">
+ <summary>
+ Specialized <see cref="T:System.ComponentModel.EnumConverter"/> that also supports
+ case-insensitive conversion of "true" to
+ <see cref="F:NAnt.DotNet.Types.DelaySign.Yes"/> and "false" to
+ <see cref="F:NAnt.DotNet.Types.DelaySign.No"/>.
+ </summary>
+ </member>
+ <member name="M:NAnt.DotNet.Types.DelaySignConverter.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.DotNet.Types.DelaySignConverter"/>
+ class.
+ </summary>
+ </member>
+ <member name="M:NAnt.DotNet.Types.DelaySignConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
+ <summary>
+ Converts the given object to the type of this converter, using the
+ specified context and culture information.
+ </summary>
+ <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that provides a format context.</param>
+ <param name="culture">A <see cref="T:System.Globalization.CultureInfo"/> object. If a <see langword="null"/> is passed, the current culture is assumed.</param>
+ <param name="value">The <see cref="T:System.Object"/> to convert.</param>
+ <returns>
+ An <see cref="T:System.Object"/> that represents the converted value.
+ </returns>
+ </member>
<member name="T:NAnt.DotNet.Types.EmbeddedResource">
<summary>
Represents an embedded resource.
@@ -3964,7 +4181,7 @@
Inserts a <see cref="T:NAnt.DotNet.Types.EmbeddedResource"/> into the collection at the
specified index.
</summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
<param name="value">The <see cref="T:NAnt.DotNet.Types.EmbeddedResource"/> to insert.</param>
</member>
<member name="M:NAnt.DotNet.Types.EmbeddedResourceCollection.System#Collections#IList#Remove(System.Object)">
@@ -4027,7 +4244,7 @@
Inserts a <see cref="T:NAnt.DotNet.Types.EmbeddedResource"/> into the collection at the
specified index.
</summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
<param name="value">The <see cref="T:NAnt.DotNet.Types.EmbeddedResource"/> to insert.</param>
</member>
<member name="M:NAnt.DotNet.Types.EmbeddedResourceCollection.Remove(NAnt.DotNet.Types.EmbeddedResource)">
@@ -4082,7 +4299,7 @@
The <see cref="T:System.Type"/> of the items in this collection.
</value>
</member>
- <member name="P:NAnt.DotNet.Types.EmbeddedResourceCollection.System#Collections#IList#$Item$(System.Int32)">
+ <member name="P:NAnt.DotNet.Types.EmbeddedResourceCollection.System#Collections#IList#Item(System.Int32)">
<summary>
Gets or sets the item at the specified index.
</summary>
@@ -4132,6 +4349,337 @@
The current item in the collection.
</returns>
</member>
+ <member name="T:NAnt.DotNet.Types.Module">
+ <summary>
+ Represents a metadata file without assembly manifest.
+ </summary>
+ </member>
+ <member name="M:NAnt.DotNet.Types.Module.ToString">
+ <summary>
+ Returns a textual representation of the module, which can be used as
+ argument for command-line tools.
+ </summary>
+ <returns>
+ A textual representation of the path, file[,target].
+ </returns>
+ </member>
+ <member name="P:NAnt.DotNet.Types.Module.File">
+ <summary>
+ The path of the module.
+ </summary>
+ </member>
+ <member name="P:NAnt.DotNet.Types.Module.Target">
+ <summary>
+ File name where the module should be copied to before it is compiled
+ into an assembly.
+ </summary>
+ </member>
+ <member name="P:NAnt.DotNet.Types.Module.ModuleSet">
+ <summary>
+ Gets or sets the <see cref="P:NAnt.DotNet.Types.Module.ModuleSet"/> that contains the module.
+ </summary>
+ </member>
+ <member name="T:NAnt.DotNet.Types.ModuleCollection">
+ <summary>
+ Contains a collection of <see cref="T:NAnt.DotNet.Types.Module"/> items.
+ </summary>
+ <remarks>
+ Do not yet expose this to build authors.
+ </remarks>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.#ctor(NAnt.DotNet.Types.ModuleSet)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>
+ for the specified <see cref="T:NAnt.DotNet.Types.ModuleSet"/>.
+ </summary>
+ <param name="moduleSet">The <see cref="T:NAnt.DotNet.Types.ModuleSet"/> containing the collection.</param>
+ <exception cref="T:System.ArgumentNullException"><paramref name="moduleSet"/> is <see langword="true"/>.</exception>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IEnumerable#GetEnumerator">
+ <summary>
+ Returns an enumerator that can iterate through the collection.
+ </summary>
+ <returns>
+ A <see cref="T:NAnt.DotNet.Types.ModuleEnumerator"/> for the entire collection.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.CopyTo(System.Array,System.Int32)">
+ <summary>
+ Copies the items of the collection to an <see cref="T:System.Array"/>,
+ starting at a particular index.
+ </summary>
+ <param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the items copied from the collection. The <see cref="T:System.Array"/> must have zero-based indexing.</param>
+ <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.Clear">
+ <summary>
+ Removes all items from the collection.
+ </summary>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#Insert(System.Int32,System.Object)">
+ <summary>
+ Inserts a <see cref="T:NAnt.DotNet.Types.Module"/> into the collection at the
+ specified index.
+ </summary>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to insert.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#Remove(System.Object)">
+ <summary>
+ Removes the specified <see cref="T:NAnt.DotNet.Types.Module"/> from the
+ collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to remove from the collection.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.RemoveAt(System.Int32)">
+ <summary>
+ Removes an item at a specific index.
+ </summary>
+ <param name="index">The zero-based index of the item to remove.</param>
+ <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index"/> parameter is less than 0 or greater than or equal to the value of the <see cref="P:NAnt.DotNet.Types.ModuleCollection.Count"/> property of the <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>.</exception>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#Contains(System.Object)">
+ <summary>
+ Determines whether a <see cref="T:NAnt.DotNet.Types.Module"/> is in the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to locate in the collection.</param>
+ <returns>
+ <see langword="true"/> if <paramref name="value"/> is found in the
+ collection; otherwise, <see langword="false"/>.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#IndexOf(System.Object)">
+ <summary>
+ Gets the location of a <see cref="T:NAnt.DotNet.Types.Module"/> in the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> object to locate.</param>
+ <returns>
+ The zero-based location of the <see cref="T:NAnt.DotNet.Types.Module"/> in the
+ collection.
+ </returns>
+ <remarks>
+ If the <see cref="T:NAnt.DotNet.Types.Module"/> is not currently a member of
+ the collection, -1 is returned.
+ </remarks>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#Add(System.Object)">
+ <summary>
+ Adds a <see cref="T:NAnt.DotNet.Types.Module"/> to the end of the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to be added to the end of the collection.</param>
+ <returns>
+ The position into which the new item was inserted.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.AddRange(NAnt.DotNet.Types.ModuleCollection)">
+ <summary>
+ Adds the items of a <see cref="T:NAnt.DotNet.Types.ModuleCollection"/> to the end of the collection.
+ </summary>
+ <param name="items">The <see cref="T:NAnt.DotNet.Types.ModuleCollection"/> to be added to the end of the collection.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.Add(NAnt.DotNet.Types.Module)">
+ <summary>
+ Adds a <see cref="T:NAnt.DotNet.Types.Module"/> to the end of the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to be added to the end of the collection.</param>
+ <returns>
+ The position into which the new item was inserted.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.GetEnumerator">
+ <summary>
+ Returns an enumerator that can iterate through the collection.
+ </summary>
+ <returns>
+ A <see cref="T:NAnt.DotNet.Types.ModuleEnumerator"/> for the entire collection.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.Insert(System.Int32,NAnt.DotNet.Types.Module)">
+ <summary>
+ Inserts a <see cref="T:NAnt.DotNet.Types.Module"/> into the collection at the
+ specified index.
+ </summary>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to insert.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.Remove(NAnt.DotNet.Types.Module)">
+ <summary>
+ Removes the specified <see cref="T:NAnt.DotNet.Types.Module"/> from the
+ collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to remove from the collection.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.Contains(NAnt.DotNet.Types.Module)">
+ <summary>
+ Determines whether a <see cref="T:NAnt.DotNet.Types.Module"/> is in the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> to locate in the collection.</param>
+ <returns>
+ <see langword="true"/> if <paramref name="value"/> is found in the
+ collection; otherwise, <see langword="false"/>.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleCollection.IndexOf(NAnt.DotNet.Types.Module)">
+ <summary>
+ Gets the location of a <see cref="T:NAnt.DotNet.Types.Module"/> in the collection.
+ </summary>
+ <param name="value">The <see cref="T:NAnt.DotNet.Types.Module"/> object to locate.</param>
+ <returns>
+ The zero-based location of the <see cref="T:NAnt.DotNet.Types.Module"/> in the
+ collection.
+ </returns>
+ <remarks>
+ If the <see cref="T:NAnt.DotNet.Types.Module"/> is not currently a member of
+ the collection, -1 is returned.
+ </remarks>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.Item(System.Int32)">
+ <summary>
+ Gets or sets the item at the specified index.
+ </summary>
+ <param name="index">The zero-based index of the item to get or set.</param>
+ <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index"/> parameter is less than 0 or greater than or equal to the value of the <see cref="P:NAnt.DotNet.Types.ModuleCollection.Count"/> property of the <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>.</exception>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.List">
+ <summary>
+ Gets the list of elements contained in the
+ <see cref="T:NAnt.DotNet.Types.ModuleCollection"/> instance.
+ </summary>
+ <value>
+ An <see cref="T:System.Collections.ArrayList"/> containing the elements of the
+ collection.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.System#Collections#ICollection#IsSynchronized">
+ <summary>
+ Gets a value indicating whether access to the collection is
+ synchronized (thread-safe).
+ </summary>
+ <value>
+ <see langword="false" />.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.Count">
+ <summary>
+ Gets the number of items in the collection.
+ </summary>
+ <value>
+ The number of items in the collection.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.System#Collections#ICollection#SyncRoot">
+ <summary>
+ Gets an object that can be used to synchronize access to the
+ collection.
+ </summary>
+ <value>
+ An object that can be used to synchronize access to the collection.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.IsFixedSize">
+ <summary>
+ Gets a value indicating whether the collection has a fixed size.
+ </summary>
+ <value>
+ <see langword="false" />.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.IsReadOnly">
+ <summary>
+ Gets a value indicating whether the collection has a fixed size.
+ </summary>
+ <value>
+ <see langword="false" />.
+ </value>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleCollection.System#Collections#IList#Item(System.Int32)">
+ <summary>
+ Gets or sets the item at the specified index.
+ </summary>
+ <param name="index">The zero-based index of the item to get or set.</param>
+ <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index"/> parameter is less than 0 or greater than or equal to the value of the <see cref="P:NAnt.DotNet.Types.ModuleCollection.Count"/> property of the <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>.</exception>
+ </member>
+ <member name="T:NAnt.DotNet.Types.ModuleEnumerator">
+ <summary>
+ Enumerates the <see cref="T:NAnt.DotNet.Types.Module"/> items of a <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>.
+ </summary>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleEnumerator.#ctor(NAnt.DotNet.Types.ModuleCollection)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.DotNet.Types.ModuleEnumerator"/> class
+ with the specified <see cref="T:NAnt.DotNet.Types.ModuleCollection"/>.
+ </summary>
+ <param name="arguments">The collection that should be enumerated.</param>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleEnumerator.MoveNext">
+ <summary>
+ Advances the enumerator to the next item of the collection.
+ </summary>
+ <returns>
+ <see langword="true" /> if the enumerator was successfully advanced
+ to the next item; <see langword="false" /> if the enumerator has
+ passed the end of the collection.
+ </returns>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleEnumerator.Reset">
+ <summary>
+ Sets the enumerator to its initial position, which is before the
+ first item in the collection.
+ </summary>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleEnumerator.Current">
+ <summary>
+ Gets the current item in the collection.
+ </summary>
+ <returns>
+ The current item in the collection.
+ </returns>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleEnumerator.System#Collections#IEnumerator#Current">
+ <summary>
+ Gets the current item in the collection.
+ </summary>
+ <returns>
+ The current item in the collection.
+ </returns>
+ </member>
+ <member name="T:NAnt.DotNet.Types.ModuleSet">
+ <summary>
+ <para>
+ One or more modules to compile into an assembly.
+ </para>
+ </summary>
+ <example>
+ <para>
+ Define a global <c>&lt;moduleset&gt;</c> that can be referenced by
+ other tasks or types.
+ </para>
+ <code>
+ <![CDATA[
+ <moduleset id="client-modules" dir="${build}">
+ <module file="Client.netmodule" />
+ <module file="Common.netmodule" />
+ </moduleset>
+ ]]>
+ </code>
+ </example>
+ </member>
+ <member name="M:NAnt.DotNet.Types.ModuleSet.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.DotNet.Types.ModuleSet"/> class.
+ </summary>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleSet.Dir">
+ <summary>
+ The base of the directory of this <see cref="T:NAnt.DotNet.Types.ModuleSet"/>.
+ The default is the project base directory.
+ </summary>
+ </member>
+ <member name="P:NAnt.DotNet.Types.ModuleSet.Modules">
+ <summary>
+ The modules to add to this <see cref="T:NAnt.DotNet.Types.ModuleSet"/>.
+ </summary>
+ </member>
<member name="T:NAnt.DotNet.Types.NamespaceImport">
<summary>
Represents a namespace to import.
@@ -4241,7 +4789,7 @@
Inserts a <see cref="T:NAnt.DotNet.Types.NamespaceImport"/> into the collection at the
specified index.
</summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
<param name="value">The <see cref="T:NAnt.DotNet.Types.NamespaceImport"/> to insert.</param>
</member>
<member name="M:NAnt.DotNet.Types.NamespaceImportCollection.System#Collections#IList#Remove(System.Object)">
@@ -4304,7 +4852,7 @@
Inserts a <see cref="T:NAnt.DotNet.Types.NamespaceImport"/> into the collection at the
specified index.
</summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
+ <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param>
<param name="value">The <see cref="T:NAnt.DotNet.Types.NamespaceImport"/> to insert.</param>
</member>
<member name="M:NAnt.DotNet.Types.NamespaceImportCollection.Remove(NAnt.DotNet.Types.NamespaceImport)">
@@ -4358,7 +4906,7 @@
The <see cref="T:System.Type"/> of the items in this collection.
</value>
</member>
- <member name="P:NAnt.DotNet.Types.NamespaceImportCollection.System#Collections#IList#$Item$(System.Int32)">
+ <member name="P:NAnt.DotNet.Types.NamespaceImportCollection.System#Collections#IList#Item(System.Int32)">
<summary>
Gets or sets the item at the specified index.
</summary>
@@ -4567,7 +5115,7 @@
</member>
<member name="T:NAnt.DotNet.Types.ResourceFileSet">
<summary>
- Specialized <see cref="T:NAnt.Core.Types.FileSet"/> class for managing resource files.
+ Specialized <see cref="T:NAnt.Core.Types.FileSet"/> class for managing resource files.
</summary>
</member>
<member name="M:NAnt.DotNet.Types.ResourceFileSet.#ctor">
@@ -4623,9 +5171,9 @@
</member>
<member name="P:NAnt.DotNet.Types.ResourceFileSet.DynamicPrefix">
<summary>
- Indicates that prefixes should be dynamically generated by taking
+ Indicates whether prefixes should be dynamically generated by taking
the path of the resource relative to the basedir and appending it
- to the specified prefix.
+ to the specified prefix. The default is <see langword="false" />.
</summary>
</member>
<member name="P:NAnt.DotNet.Types.ResourceFileSet.ResxFiles">
BIN  tools/nant/NAnt.MSNetTasks.dll
View
Binary file not shown
3  tools/nant/NAnt.MSNetTasks.xml
View
@@ -49,11 +49,10 @@
</code>
</example>
</member>
- <member name="M:NAnt.MSNet.Tasks.IldasmTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.MSNet.Tasks.IldasmTask.Initialize">
<summary>
Checks whether the task is initialized with valid attributes.
</summary>
- <param name="taskNode">The <see cref="T:System.Xml.XmlNode"/> used to initialize the task.</param>
</member>
<member name="M:NAnt.MSNet.Tasks.IldasmTask.ExecuteTask">
<summary>
BIN  tools/nant/NAnt.NUnit.dll
View
Binary file not shown
BIN  tools/nant/NAnt.NUnit1Tasks.dll
View
Binary file not shown
BIN  tools/nant/NAnt.NUnit2Tasks.dll
View
Binary file not shown
388 tools/nant/NAnt.NUnit2Tasks.xml
View
@@ -75,17 +75,33 @@
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> class.
</summary>
</member>
+ <member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(System.Collections.Generic.IList{NAnt.NUnit2.Types.Category})">
+ <summary>
+ Initializes a new instance of the
+ <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> class as a wrapper for
+ the specified list.
+ </summary>
+ <param name="value">
+ The list that is wrapped by the newly created instance.
+ </param>
+ </member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(NAnt.NUnit2.Types.CategoryCollection)">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> class
with the specified <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> instance.
</summary>
+ <param name="value">
+ The collection to use to initialize the new instance with.
+ </param>
</member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(NAnt.NUnit2.Types.Category[])">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> class
with the specified array of <see cref="T:NAnt.NUnit2.Types.Category"/> instances.
</summary>
+ <param name="value">
+ The collection to use to initialize the new instance with.
+ </param>
</member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.ToString">
<summary>
@@ -96,130 +112,203 @@
<see cref="T:System.String"/> if there are no categories.
</returns>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.Add(NAnt.NUnit2.Types.Category)">
+ <member name="M:NAnt.NUnit2.Types.CategoryCollection.AddRange(System.Collections.Generic.IEnumerable{NAnt.NUnit2.Types.Category})">
<summary>
- Adds a <see cref="T:NAnt.NUnit2.Types.Category"/> to the end of the collection.
+ Adds the elements of a <see cref="T:NAnt.NUnit2.Types.Category"/> array to the end of the
+ collection.
</summary>
- <param name="item">The <see cref="T:NAnt.NUnit2.Types.Category"/> to be added to the end of the collection.</param>
- <returns>The position into which the new element was inserted.</returns>
+ <param name="items">
+ The array of <see cref="T:NAnt.NUnit2.Types.Category"/> elements to be added to the end of
+ the collection.
+ </param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.AddRange(NAnt.NUnit2.Types.Category[])">
+ <member name="P:NAnt.NUnit2.Types.CategoryCollection.Item(System.String)">
<summary>
- Adds the elements of a <see cref="T:NAnt.NUnit2.Types.Category"/> array to the end of the collection.
+ Gets the <see cref="T:NAnt.NUnit2.Types.Category"/> with the specified name.
</summary>
- <param name="items">The array of <see cref="T:NAnt.NUnit2.Types.Category"/> elements to be added to the end of the collection.</param>
+ <param name="value">The name of the <see cref="T:NAnt.NUnit2.Types.Category"/> to get.</param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.AddRange(NAnt.NUnit2.Types.CategoryCollection)">
+ <member name="T:NAnt.NUnit2.Tasks.NUnit2Task">
<summary>
- Adds the elements of a <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> to the end of the collection.
+ Runs tests using the NUnit V2.6 framework.
+ </summary>
+ <remarks>
+ <para>
+ The <see cref="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure"/> attribute is only useful when more
+ than one test suite is used, and you want to continue running other
+ test suites although a test failed.
+ </para>
+ <para>
+ Set <see cref="P:NAnt.Core.Task.FailOnError"/> to <see langword="false"/> to
+ ignore any errors and continue the build.
+ </para>
+ <para>
+ In order to run a test assembly built with NUnit 2.0 or 2.1 using
+ <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>, you must add the following node to your
+ test config file :
+ </para>
+ <code>
+ <![CDATA[
+ <configuration>
+ ...
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
+ <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" />
+ <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+ ...
+ </configuration>
+ ]]>
+ </code>
+ <para>
+ See the <see href="http://nunit.sf.net">NUnit home page</see> for more
+ information.
+ </para>
+ </remarks>
+ <example>
+ <para>
+ Run tests in the <c>MyProject.Tests.dll</c> assembly.
+ </para>
+ <code>
+ <![CDATA[
+ <nunit2>
+ <formatter type="Plain" />
+ <test assemblyname="MyProject.Tests.dll" appconfig="MyProject.Tests.dll.config" />
+ </nunit2>
+ ]]>
+ </code>
+ </example>
+ <example>
+ <para>
+ Only run tests that are not known to fail in files listed in the <c>tests.txt</c>
+ file.
+ </para>
+ <code>
+ <![CDATA[
+ <nunit2>
+ <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/results" />
+ <test>
+ <assemblies>
+ <includesfile name="tests.txt" />
+ </assemblies>
+ <categories>
+ <exclude name="NotWorking" />
+ </categories>
+ <references basedir="build">
+ <include name="Cegeka.Income.Services.dll" />
+ <include name="Cegeka.Util.dll" />
+ </references>
+ </test>
+ </nunit2>
+ ]]>
+ </code>
+ </example>
+ </member>
+ <member name="M:NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask">
+ <summary>
+ Runs the tests and sets up the formatters.
</summary>
- <param name="items">The <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/> to be added to the end of the collection.</param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.Contains(NAnt.NUnit2.Types.Category)">
+ <member name="M:NAnt.NUnit2.Tasks.NUnit2Task.GetListener(NAnt.Core.LogWriter)">
<summary>
- Determines whether a <see cref="T:NAnt.NUnit2.Types.Category"/> is in the collection.
+ Gets a new EventListener to use for the unit tests.
</summary>
- <param name="item">The <see cref="T:NAnt.NUnit2.Types.Category"/> to locate in the collection.</param>
<returns>
- <see langword="true"/> if <paramref name="item"/> is found in the
- collection; otherwise, <see langword="false"/>.
+ A new EventListener created with a new EventCollector that
+ is initialized with <paramref name="logWriter"/>.
</returns>
+ <param name='logWriter'>
+ Log writer to send test output to.
+ </param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.Contains(System.String)">
+ <member name="M:NAnt.NUnit2.Tasks.NUnit2Task.GetLoggingThreshold">
<summary>
- Determines whether a <see cref="T:NAnt.NUnit2.Types.Category"/> with the specified
- value is in the collection.
+ Gets the logging threshold to use for a test runner based on
+ the current threshold of this task.
</summary>
- <param name="value">The argument value to locate in the collection.</param>
<returns>
- <see langword="true"/> if a <see cref="T:NAnt.NUnit2.Types.Category"/> with value
- <paramref name="value"/> is found in the collection; otherwise,
- <see langword="false"/>.
+ The logging threshold to use when running a test runner.
</returns>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.CopyTo(NAnt.NUnit2.Types.Category[],System.Int32)">
+ <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure">
<summary>
- Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
+ Stop the test run if a test fails. The default is <see langword="false" />.
</summary>
- <param name="array">The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.</param>
- <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.IndexOf(NAnt.NUnit2.Types.Category)">
+ <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Labels">
<summary>
- Retrieves the index of a specified <see cref="T:NAnt.NUnit2.Types.Category"/> object in the collection.
+ Indicate whether or not to label the text output as the tests run.
</summary>
- <param name="item">The <see cref="T:NAnt.NUnit2.Types.Category"/> object for which the index is returned.</param>
- <returns>
- The index of the specified <see cref="T:NAnt.NUnit2.Types.Category"/>. If the <see cref="T:NAnt.NUnit2.Types.Category"/> is not currently a member of the collection, it returns -1.
- </returns>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.Insert(System.Int32,NAnt.NUnit2.Types.Category)">
+ <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Tests">
<summary>
- Inserts a <see cref="T:NAnt.NUnit2.Types.Category"/> into the collection at the specified index.
+ Tests to run.
</summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
- <param name="item">The <see cref="T:NAnt.NUnit2.Types.Category"/> to insert.</param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.GetEnumerator">
+ <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.FormatterElements">
<summary>
- Returns an enumerator that can iterate through the collection.
+ Formatters to output results of unit tests.
</summary>
- <returns>
- A <see cref="T:NAnt.NUnit2.Types.CategoryEnumerator"/> for the entire collection.
- </returns>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryCollection.Remove(NAnt.NUnit2.Types.Category)">
+ <member name="T:NAnt.NUnit2.Types.NUnit2Test">
<summary>
- Removes a member from the collection.
+ Represents a <c>test</c> element of an <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>.
</summary>
- <param name="item">The <see cref="T:NAnt.NUnit2.Types.Category"/> to remove from the collection.</param>
</member>
- <member name="P:NAnt.NUnit2.Types.CategoryCollection.Item(System.Int32)">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.AssemblyFile">
<summary>
- Gets or sets the element at the specified index.
+ Name of the assembly to search for tests.
</summary>
- <param name="index">The zero-based index of the element to get or set.</param>
</member>
- <member name="P:NAnt.NUnit2.Types.CategoryCollection.Item(System.String)">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestName">
<summary>
- Gets the <see cref="T:NAnt.NUnit2.Types.Category"/> with the specified name.
+ Name of a specific testfixture to run. If not specified then all
+ testfixtures are run.
</summary>
- <param name="value">The name of the <see cref="T:NAnt.NUnit2.Types.Category"/> to get.</param>
</member>
- <member name="T:NAnt.NUnit2.Types.CategoryEnumerator">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.Assemblies">
<summary>
- Enumerates the <see cref="T:NAnt.NUnit2.Types.Category"/> elements of a <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/>.
+ Assemblies to include in test.
</summary>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryEnumerator.#ctor(NAnt.NUnit2.Types.CategoryCollection)">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.References">
<summary>
- Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryEnumerator"/> class
- with the specified <see cref="T:NAnt.NUnit2.Types.CategoryCollection"/>.
+ Assemblies to scan for missing assembly references.
</summary>
- <param name="arguments">The collection that should be enumerated.</param>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryEnumerator.MoveNext">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.Categories">
<summary>
- Advances the enumerator to the next element of the collection.
+ Categories of test cases to include or exclude.
</summary>
- <returns>
- <see langword="true" /> if the enumerator was successfully advanced
- to the next element; <see langword="false" /> if the enumerator has
- passed the end of the collection.
- </returns>
</member>
- <member name="M:NAnt.NUnit2.Types.CategoryEnumerator.Reset">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.HaltOnFailure">
<summary>
- Sets the enumerator to its initial position, which is before the
- first element in the collection.
+ Build fails on failure. The default is <see langword="true" />.
</summary>
</member>
- <member name="P:NAnt.NUnit2.Types.CategoryEnumerator.Current">
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.XsltFile">
<summary>
- Gets the current element in the collection.
+ XSLT transform file to use when using the <see cref="F:NAnt.NUnit.Types.FormatterType.Plain"/>
+ formatter.
+ </summary>
+ </member>
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.AppConfigFile">
+ <summary>
+ The application configuration file to use for the NUnit test domain.
+ If not specified, NAnt will try to use a configuration name matching
+ the file name of the assembly with extension ".config".
+ </summary>
+ </member>
+ <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestAssemblies">
+ <summary>
+ Gets all assemblies specified for these tests.
</summary>
<returns>
- The current element in the collection.
+ All assemblies specified for these tests.
</returns>
</member>
<member name="T:NAnt.NUnit2.Types.NUnit2TestCollection">
@@ -352,154 +441,6 @@
The current element in the collection.
</returns>
</member>
- <member name="T:NAnt.NUnit2.Tasks.NUnit2Task">
- <summary>
- Runs tests using the NUnit V2.2 framework.
- </summary>
- <remarks>
- <para>
- The <see cref="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure"/> attribute is only useful when more
- than one test suite is used, and you want to continue running other
- test suites although a test failed.
- </para>
- <para>
- Set <see cref="P:NAnt.Core.Task.FailOnError"/> to <see langword="false"/> to
- ignore any errors and continue the build.
- </para>
- <para>
- In order to run a test assembly built with NUnit 2.0 or 2.1 using
- <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>, you must add the following node to your
- test config file :
- </para>
- <code>
- <![CDATA[
- <configuration>
- ...
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
- <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" />
- <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- ...
- </configuration>
- ]]>
- </code>
- <para>
- See the <see href="http://nunit.sf.net">NUnit home page</see> for more
- information.
- </para>
- </remarks>
- <example>
- <para>
- Run tests in the <c>MyProject.Tests.dll</c> assembly.
- </para>
- <code>
- <![CDATA[
- <nunit2>
- <formatter type="Plain" />
- <test assemblyname="MyProject.Tests.dll" appconfig="MyProject.Tests.dll.config" />
- </nunit2>
- ]]>
- </code>
- </example>
- <example>
- <para>
- Only run tests that are not known to fail in files listed in the <c>tests.txt</c>
- file.
- </para>
- <code>
- <![CDATA[
- <nunit2>
- <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/results" />
- <test>
- <assemblies>
- <includesfile name="tests.txt" />
- </assemblies>
- <categories>
- <exclude name="NotWorking" />
- </categories>
- </test>
- </nunit2>
- ]]>
- </code>
- </example>
- </member>
- <member name="M:NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask">
- <summary>
- Runs the tests and sets up the formatters.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure">
- <summary>
- Stop the test run if a test fails. The default is <see langword="false" />.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Tests">
- <summary>
- Tests to run.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.FormatterElements">
- <summary>
- Formatters to output results of unit tests.
- </summary>
- </member>
- <member name="T:NAnt.NUnit2.Types.NUnit2Test">
- <summary>
- Represents a <c>test</c> element of an <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.AssemblyFile">
- <summary>
- Name of the assembly to search for tests.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestName">
- <summary>
- Name of a specific testfixture to run. If not specified then all
- testfixtures are run.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.Assemblies">
- <summary>
- Assemblies to include in test.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.Categories">
- <summary>
- Categories of test cases to include or exclude.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.HaltOnFailure">
- <summary>
- Build fails on failure. The default is <see langword="true" />.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.XsltFile">
- <summary>
- XSLT transform file to use when using the <see cref="F:NAnt.NUnit.Types.FormatterType.Plain"/>
- formatter.
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.AppConfigFile">
- <summary>
- The application configuration file to use for the NUnit test domain.
- If not specified, NAnt will try to use a configuration name matching
- the file name of the assembly with extension ".config".
- </summary>
- </member>
- <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestAssemblies">
- <summary>
- Gets all assemblies specified for these tests.
- </summary>
- <returns>
- All assemblies specified for these tests.
- </returns>
- </member>
<member name="T:NAnt.NUnit2.Tasks.NUnit2TestDomain">
<summary>
Custom TestDomain, similar to the one included with NUnit, in order
@@ -512,12 +453,13 @@
class.
</summary>
</member>
- <member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.CreateRunner(System.IO.FileInfo,System.IO.FileInfo)">
+ <member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.CreateRunner(System.IO.FileInfo,System.IO.FileInfo,System.Collections.Specialized.StringCollection)">
<summary>
Runs a single testcase.
</summary>
<param name="assemblyFile">The test assembly.</param>
<param name="configFile">The application configuration file for the test domain.</param>
+ <param name="referenceAssemblies">List of files to scan for missing assembly references.</param>
<returns>
The result of the test.
</returns>