diff options
| author | mo.khan <mo.khan@a0a4a051-f042-0410-9e78-9fae330bdb64> | 2008-05-08 20:21:57 +0000 |
|---|---|---|
| committer | mo.khan <mo.khan@a0a4a051-f042-0410-9e78-9fae330bdb64> | 2008-05-08 20:21:57 +0000 |
| commit | aef1d30cc7ffaa7701fc7c530383fd15465fbbd5 (patch) | |
| tree | 79086f18b3182326de08e0b1045400730f1e190b /Sait/Cmpp299/Assignment1/trunk | |
| parent | 004893e4b8f610e9427f12dafd342b88aeb85d6f (diff) | |
added new version of nant.
git-svn-id: http://mokhan.googlecode.com/svn/trunk@27 a0a4a051-f042-0410-9e78-9fae330bdb64
Diffstat (limited to 'Sait/Cmpp299/Assignment1/trunk')
30 files changed, 2555 insertions, 1168 deletions
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/Marina.Build.csproj b/Sait/Cmpp299/Assignment1/trunk/build/Marina.Build.csproj index 4c6d156..1e6cfd8 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/Marina.Build.csproj +++ b/Sait/Cmpp299/Assignment1/trunk/build/Marina.Build.csproj @@ -184,6 +184,7 @@ <Content Include="lib\log4net\bin\log4net.xml" />
<None Include="local.properties.template" />
<None Include="project.properties.build" />
+ <None Include="project.test.build" />
<None Include="sql\ddl\security.sql.template" />
<Content Include="tools\mbunit\bin\log4net.dll" />
<Content Include="tools\mbunit\bin\MbUnit.AddIn.dll" />
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/local.properties.template b/Sait/Cmpp299/Assignment1/trunk/build/local.properties.template index 0115a4f..db6e5ba 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/local.properties.template +++ b/Sait/Cmpp299/Assignment1/trunk/build/local.properties.template @@ -1,5 +1,6 @@ <?xml version="1.0"?>
<properties>
+ <property name="machine.name" value="MOKHAN" />
<property name="framework.dir" value="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" />
<property name="virtual.directory.name" value="marina" />
<property name="run.url" value="http://${environment::get-machine-name()}/${virtual.directory.name}/Default.aspx" />
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/project.build b/Sait/Cmpp299/Assignment1/trunk/build/project.build index 28a574c..0468f12 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/project.build +++ b/Sait/Cmpp299/Assignment1/trunk/build/project.build @@ -3,26 +3,18 @@ <include buildfile="local.properties.xml" />
<include buildfile="project.properties.build" />
<include buildfile="project.deploy.build" />
+ <include buildfile="project.test.build" />
<include buildfile="project.database.build" />
<fileset id="app.lib.references.fileset" >
<include name="${app.src.dir}\**\*.cs"/>
<exclude name="${app.src.dir}\**\AssemblyInfo.cs" />
</fileset>
-
- <fileset id="test.lib.references.fileset">
- <include name="${build.temp.dir}\${app.lib}" />
- <include name="${build.tools.dir}\mbunit\bin\MBUnit.Framework.dll" />
- <include name="${build.tools.dir}\rhino.mocks\bin\Rhino.Mocks.dll" />
- <include name="${build.lib.dir}\log4net\bin\log4net.dll" />
- <include name="${build.lib.dir}\castle\bin\*.dll" />
- </fileset>
<target name="clean">
<exec
program="taskkill.exe"
- commandline="/f /im notepad.exe"
- failonerror="false" />
+ commandline="/f /im notepad.exe /fi "STATUS eq RUNNING"" />
<delete dir="${build.temp.dir}" />
<delete dir="${build.deploy.dir}" />
<delete dir="${log.dir}" />
@@ -54,62 +46,9 @@ <csc output="${compile.dir}\${app.lib}" target="library" debug="${debug}">
<sources refid="app.lib.references.fileset" />
<references>
- <include name="${build.lib.dir}\log4net\bin\log4net.dll" />
- <include name="${build.lib.dir}\castle\bin\*.dll" />
+ <include name="${build.lib.dir}\**\*.dll" />
</references>
</csc>
</target>
- <target name="test.compile" >
- <property name="compile.dir" value="${build.temp.dir}" />
-
- <call target="compile"/>
- <csc output="${compile.dir}\${test.lib}" target="library" debug="${debug}">
- <sources>
- <include name="${test.src.dir}\**\*.cs" />
- </sources>
- <references refid="test.lib.references.fileset" />
- </csc>
- </target>
-
- <target name="test.setup" depends="test.compile">
- <property name="target" value="${log4net.config}"/>
- <call target="expand.template.file"/>
-
- <property name="target" value="${app.config}"/>
- <call target="expand.template.file"/>
-
- <property name="target" value="${windsor.config}"/>
- <call target="expand.template.file"/>
-
- <copy todir="${build.temp.dir}" flatten="true">
- <fileset>
- <include name="${build.tools.dir}\mbunit\bin\**.dll" />
- <include name="${build.tools.dir}\rhino.mocks\bin\Rhino.Mocks.dll" />
- <include name="${build.lib.dir}\log4Net\bin\*.dll" />
- <include name="${build.lib.dir}\castle\bin\*.dll" />
- <include name="${log4net.config}" />
- <include name="${windsor.config}" />
- </fileset>
- </copy>
-
- <copy file="${app.config}" tofile="${build.temp.dir}\${test.lib}.config" />
- </target>
-
- <target name="test" depends="test.setup">
- <exec
- program="${path.xunit.console}"
- commandline="${build.temp.dir}\${test.lib} ${xunit.console.args}"
- workingdir="${build.temp.dir}"
- />
- </target>
-
- <target name="test.html" depends="test.setup">
- <exec
- program="${path.xunit.console}"
- commandline="${build.temp.dir}\${test.lib} ${xunit.console.args.html}"
- workingdir="${build.temp.dir}"
- />
- </target>
-
</project>
\ No newline at end of file diff --git a/Sait/Cmpp299/Assignment1/trunk/build/project.deploy.build b/Sait/Cmpp299/Assignment1/trunk/build/project.deploy.build index 7516a9a..a4b9e67 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/project.deploy.build +++ b/Sait/Cmpp299/Assignment1/trunk/build/project.deploy.build @@ -1,4 +1,6 @@ -<project name="">
+<project name="project.deploy">
+ <property name="nant.contrib" value="${build.tools.dir}\nant\bin\NAnt.Contrib.Tasks.dll"/>
+
<target name="web.clean">
<delete dir="${build.deploy.dir}" />
</target>
@@ -64,10 +66,38 @@ commandline="-v /${virtual.directory.name} -p ${build.deploy.dir}\source ${build.deploy.dir}\app"
verbose="true" />
</target>
-
- <target name="run" depends="dist.web">
+
+ <target name="register.virtual.directory">
+ <loadtasks assembly="${nant.contrib}" />
+
+ <echo message="creating virtual directory... ${virtual.directory.name} @ ${build.deploy.dir}\app" />
+ <mkiisdir
+ iisserver="${machine.name}"
+ dirpath="${build.deploy.dir}\app"
+ vdirname="${virtual.directory.name}"
+ appfriendlyname="${virtual.directory.name}"
+ verbose="true" />
+
+ <!--http://www.persistall.com/archive/2007/06/11/Nant-Task-for-Creating-IIS-Application-Mappings.aspx-->
+ <!-- <loadtasks assembly="${build.tools.dir}\nant\bin\Vitreo.Nant.dll" />
+ <iisappmap
+ vdirname="${virtual.directory.name}"
+ extension=".store"
+ executable="${root.drive}\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll"
+ verbs="GET,POST"
+ checkfileexists="false" /> -->
+ </target>
+
+ <target name="unregister.virtual.directory">
+ <loadtasks assembly="${nant.contrib}" />
+ <deliisdir iisserver="${machine.name}" vdirname="${virtual.directory.name}" />
+ </target>
+
+ <target name="run" depends="dist.web">
+ <call target="register.virtual.directory" />
<exec program="${browser.path}" commandline="${run.url}" />
- <call target="kill.aspnet" />
+ <call target="unregister.virtual.directory" />
+ <call target="kill.aspnet" />
</target>
<target name="kill.aspnet">
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.dll Binary files differindex acbb331..30f8af8 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.xml index 7189682..e926883 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.CompressionTasks.xml @@ -109,7 +109,10 @@ Extracts files from a zip file.
</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>
@@ -183,7 +186,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>
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.dll Binary files differindex df9936b..aa48486 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.xml index 4f8441f..ef37c99 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Core.xml @@ -161,10 +161,6 @@ </summary>
<remarks>
<para>
- Should only be applied to properties exposing strongly typed arrays or
- strongly typed collections.
- </para>
- <para>
The XML format is like this:
<code>
<![CDATA[
@@ -562,6 +558,19 @@ <summary>
Indicates the location that a task executable can be located in.
</summary>
+ <remarks>
+ <para>
+ When applied to a task deriving from <see cref="T:NAnt.Core.Tasks.ExternalProgramBase"/>,
+ the program to execute will first be searched for in the designated
+ location.
+ </para>
+ <para>
+ If the program does not exist in that location, and the file name is
+ not an absolute path then the list of tool paths of the current
+ target framework will be searched (in the order in which they are
+ defined in the NAnt configuration file).
+ </para>
+ </remarks>
</member>
<member name="M:NAnt.Core.Attributes.ProgramLocationAttribute.#ctor(NAnt.Core.Attributes.LocationType)">
<summary>
@@ -651,7 +660,7 @@ </code>
NOTE: Attribute values must be of type of string if you want
to be able to have macros. The field stores the exact value during
- InitializeTask. Just before ExecuteTask is called NAnt will expand
+ Initialize. Just before ExecuteTask is called NAnt will expand
all the macros with the current values.
</example>
</member>
@@ -683,17 +692,13 @@ <exception cref="T:System.ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="name"/> is a zero-length <see cref="T:System.String"/>.</exception>
</member>
- <member name="T:NAnt.Core.Filters.ChainableReader">
+ <member name="T:NAnt.Core.Configuration.DirList">
<summary>
- Functions as a chainable TextReader
+ Represents an explicitly named list of directories.
</summary>
<remarks>
- Implements a abstraction over a TextReader that allows the class to represent
- either a TextReader or another ChainableReader to which it is chained.
- - By passing a ChainableReader as a constructor paramater it is possiable to
- chain many ChainableReaders together. The last ChainableReader in the chain must
- be based on a TextReader.
+ A <see cref="T:NAnt.Core.Configuration.DirList"/> is useful when you want to capture a list of
+ directories regardless whether they currently exist.
</remarks>
</member>
<member name="T:NAnt.Core.Element">
@@ -725,7 +730,7 @@ </summary>
<remarks>
Derived classes that wish to add custom initialization should override
- the <see cref="M:NAnt.Core.Element.InitializeElement(System.Xml.XmlNode)"/> method.
+ the <see cref="M:NAnt.Core.Element.Initialize"/> method.
</remarks>
</member>
<member name="M:NAnt.Core.Element.Log(NAnt.Core.Level,System.String)">
@@ -756,6 +761,16 @@ </summary>
<param name="elementNode">The XML node of the element to use for initialization.</param>
</member>
+ <member name="M:NAnt.Core.Element.Initialize">
+ <summary>
+ Derived classes should override to this method to provide extra
+ initialization and validation not covered by the base class.
+ </summary>
+ <remarks>
+ Access to the <see cref="P:NAnt.Core.Element.XmlNode"/> that was used to initialize
+ this <see cref="T:NAnt.Core.Element"/> is available through <see cref="P:NAnt.Core.Element.XmlNode"/>.
+ </remarks>
+ </member>
<member name="M:NAnt.Core.Element.CopyTo(NAnt.Core.Element)">
<summary>
Copies all instance data of the <see cref="T:NAnt.Core.Element"/> to a given
@@ -998,6 +1013,116 @@ Internal interface used for setting element attributes.
</summary>
</member>
+ <member name="P:NAnt.Core.Configuration.DirList.Directory">
+ <summary>
+ The base of the directory of this dirlist. The default is the project
+ base directory.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Configuration.ManagedExecutionMode.Environment">
+ <summary>
+ Gets the collection of environment variables that should be passed
+ to external programs that are launched.
+ </summary>
+ <value>
+ <summary>
+ The collection of environment variables that should be passed
+ to external programs that are launched.
+ </summary>
+ </value>
+ </member>
+ <member name="P:NAnt.Core.Configuration.RuntimeEngine.Arguments">
+ <summary>
+ The command-line arguments for the runtime engine.
+ </summary>
+ </member>
+ <member name="T:NAnt.Core.Extensibility.ExtensionAssembly">
+ <summary>
+ Represents an <see cref="P:NAnt.Core.Extensibility.ExtensionAssembly.Assembly"/> in which one or more extensions
+ are found.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Extensibility.ExtensionAssembly.#ctor(System.Reflection.Assembly)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/>
+ class for a given <see cref="P:NAnt.Core.Extensibility.ExtensionAssembly.Assembly"/>.
+ </summary>
+ <param name="assembly">The <see cref="P:NAnt.Core.Extensibility.ExtensionAssembly.Assembly"/> for which to construct an <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/>.</param>
+ </member>
+ <member name="P:NAnt.Core.Extensibility.ExtensionAssembly.Assembly">
+ <summary>
+ Gets the <see cref="P:NAnt.Core.Extensibility.ExtensionAssembly.Assembly"/> containing extensions.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Extensibility.ExtensionBuilder.#ctor(NAnt.Core.Extensibility.ExtensionAssembly)">
+ <summary>
+ Initializes a instance of the <see cref="T:NAnt.Core.Extensibility.ExtensionBuilder"/>
+ class for an extension in a given <see cref="P:NAnt.Core.Extensibility.ExtensionBuilder.ExtensionAssembly"/>.
+ </summary>
+ <param name="extensionAssembly">The <see cref="P:NAnt.Core.Extensibility.ExtensionBuilder.ExtensionAssembly"/> in which the extension is found.</param>
+ <exception cref="T:System.ArgumentNullException"><paramref name="extensionAssembly"/> is <see langword="null"/>.</exception>
+ </member>
+ <member name="P:NAnt.Core.Extensibility.ExtensionBuilder.ExtensionAssembly">
+ <summary>
+ Gets the <see cref="P:NAnt.Core.Extensibility.ExtensionBuilder.ExtensionAssembly"/> in which the extension
+ was found.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Extensibility.ExtensionBuilder.Assembly">
+ <summary>
+ Gets the <see cref="P:NAnt.Core.Extensibility.ExtensionBuilder.Assembly"/> from which the extension will
+ be created.
+ </summary>
+ <value>
+ The <see cref="P:NAnt.Core.Extensibility.ExtensionBuilder.Assembly"/> containing the extension.
+ </value>
+ </member>
+ <member name="M:NAnt.Core.Extensibility.PluginConsumerAttribute.#ctor(System.Type)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Extensibility.PluginConsumerAttribute"/>
+ with the specified type.
+ </summary>
+ <param name="type">The type of the <see cref="T:NAnt.Core.Extensibility.IPlugin"/> to consume.</param>
+ <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <see langword="null"/>.</exception>
+ </member>
+ <member name="T:NAnt.Core.Extensibility.PluginScanner">
+ <summary>
+ Responsible for scanning types for plugins, and maintaining a cache of
+ <see cref="T:NAnt.Core.Extensibility.PluginBuilder"/> instances.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Extensibility.PluginScanner.ScanTypeForPlugins(NAnt.Core.Extensibility.ExtensionAssembly,System.Type,NAnt.Core.Task)">
+ <summary>
+ Scans a given <see cref="T:System.Type"/> for plugins.
+ </summary>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:System.Type"/> to scan.</param>
+ <param name="type">The <see cref="T:System.Type"/> to scan.</param>
+ <param name="task">The <see cref="T:NAnt.Core.Task"/> which will be used to output messages to the build log.</param>
+ <returns>
+ <see langword="true"/> if <paramref name="type"/> represents a
+ <see cref="T:NAnt.Core.Extensibility.IPlugin"/>; otherwise, <see langword="false"/>.
+ </returns>
+ </member>
+ <member name="M:NAnt.Core.Extensibility.PluginScanner.RegisterPlugins(NAnt.Core.Extensibility.IPluginConsumer)">
+ <summary>
+ Registers matching plugins for the specified <see cref="T:NAnt.Core.Extensibility.IPluginConsumer"/>.
+ </summary>
+ <param name="consumer">The <see cref="T:NAnt.Core.Extensibility.IPluginConsumer"/> which plugins must be registered for.</param>
+ <exception cref="T:System.ArgumentNullException"><paramref name="consumer"/> is <see langword="null"/>.</exception>
+ </member>
+ <member name="T:NAnt.Core.Filters.ChainableReader">
+ <summary>
+ Functions as a chainable TextReader
+ </summary>
+ <remarks>
+ Implements a abstraction over a TextReader that allows the class to represent
+ either a TextReader or another ChainableReader to which it is chained.
+ + By passing a ChainableReader as a constructor paramater it is possiable to
+ chain many ChainableReaders together. The last ChainableReader in the chain must
+ be based on a TextReader.
+ </remarks>
+ </member>
<member name="M:NAnt.Core.Filters.ChainableReader.Chain(NAnt.Core.Filters.ChainableReader)">
<summary>
Makes it so all calls to Read and Peek are passed the ChainableReader
@@ -1070,13 +1195,13 @@ is <see langword="false"/>.
</summary>
</member>
- <member name="M:NAnt.Core.Filters.FilterBuilder.#ctor(System.Reflection.Assembly,System.String)">
+ <member name="M:NAnt.Core.Filters.FilterBuilder.#ctor(NAnt.Core.Extensibility.ExtensionAssembly,System.String)">
<summary>
Creates a new instance of the <see cref="T:NAnt.Core.Filters.FilterBuilder"/> class
- for the specified <see cref="T:NAnt.Core.Filters.Filter"/> class in the <see cref="P:NAnt.Core.Filters.FilterBuilder.Assembly"/>
- specified.
+ for the specified <see cref="T:NAnt.Core.Filters.Filter"/> class in the specified
+ <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/>.
</summary>
- <param name="assembly">The <see cref="P:NAnt.Core.Filters.FilterBuilder.Assembly"/> containing the <see cref="T:NAnt.Core.Filters.Filter"/>.</param>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:NAnt.Core.Filters.Filter"/>.</param>
<param name="className">The class representing the <see cref="T:NAnt.Core.Filters.Filter"/>.</param>
</member>
<member name="P:NAnt.Core.Filters.FilterBuilder.ClassName">
@@ -1089,15 +1214,6 @@ this <see cref="T:NAnt.Core.Filters.FilterBuilder"/>.
</value>
</member>
- <member name="P:NAnt.Core.Filters.FilterBuilder.Assembly">
- <summary>
- Gets the <see cref="P:NAnt.Core.Filters.FilterBuilder.Assembly"/> from which the filter will be
- created.
- </summary>
- <value>
- The <see cref="P:NAnt.Core.Filters.FilterBuilder.Assembly"/> containing the filter.
- </value>
- </member>
<member name="P:NAnt.Core.Filters.FilterBuilder.FilterName">
<summary>
Gets the name of the filter which the <see cref="T:NAnt.Core.Filters.FilterBuilder"/>
@@ -1330,10 +1446,14 @@ </summary>
</member>
<member name="P:NAnt.Core.DataTypeBase.ID">
- <summary>
The ID used to be referenced later.
</summary>
+ <summary>
+ The ID used to be referenced later.
+ </summary>
</member>
<member name="P:NAnt.Core.DataTypeBase.RefID">
- <summary>
The ID to use as the reference.
</summary>
+ <summary>
+ The ID to use as the reference.
+ </summary>
</member>
<member name="P:NAnt.Core.DataTypeBase.CanBeReferenced">
<summary>
@@ -1792,7 +1912,7 @@ Char as an int or -1 if at the end of the stream.
</returns>
</member>
- <member name="M:NAnt.Core.Filters.ReplaceTokens.InitializeElement(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Filters.ReplaceTokens.Initialize">
<summary>
Initialize the filter by setting its parameters.
</summary>
@@ -2442,6 +2562,20 @@ </code>
</example>
</member>
+ <member name="T:NAnt.Core.Functions.DnsFunctions">
+ <summary>
+ Functions for requesting information from DNS.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Functions.DnsFunctions.GetHostName">
+ <summary>
+ Gets the host name of the local computer.
+ </summary>
+ <returns>
+ A string that contains the DNS host name of the local computer.
+ </returns>
+ <exception cref="T:System.Net.Sockets.SocketException">An error is encountered when resolving the local host name.</exception>
+ </member>
<member name="M:NAnt.Core.Functions.DoubleConversionFunctions.Parse(System.String)">
<summary>
Converts the specified string representation of a number to its
@@ -3052,11 +3186,11 @@ </member>
<member name="M:NAnt.Core.Functions.FrameworkFunctions.Exists(System.String)">
<summary>
- Checks whether the specified framework exists.
+ Checks whether the specified framework exists, and is valid.
</summary>
- <param name="name">The framework to test.</param>
+ <param name="framework">The framework to test.</param>
<returns>
- <see langword="true" /> if the specified framework exists; otherwise,
+ <see langword="true" /> if the specified framework exists ; otherwise,
<see langword="false" />.
</returns>
</member>
@@ -3064,7 +3198,7 @@ <summary>
Checks whether the SDK for the specified framework is installed.
</summary>
- <param name="name">The framework to test.</param>
+ <param name="framework">The framework to test.</param>
<returns>
<see langword="true"/> if the SDK for specified framework is installed;
otherwise, <see langword="false"/>.
@@ -3174,6 +3308,38 @@ <seealso cref="M:NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework"/>
<seealso cref="M:NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework"/>
</member>
+ <member name="M:NAnt.Core.Functions.FrameworkFunctions.GetToolPath(System.String)">
+ <summary>
+ Gets the absolute path of the specified tool for the current
+ target framework.
+ </summary>
+ <param name="tool">The file name of the tool to search for.</param>
+ <returns>
+ The absolute path to <paramref name="tool"/> if found in one of the
+ configured tool paths; otherwise, an error is reported.
+ </returns>
+ <exception cref="T:System.IO.FileNotFoundException"><paramref name="tool"/> could not be found in the configured tool paths.</exception>
+ <remarks>
+ <para>
+ The configured tool paths are scanned in the order in which they
+ are defined in the framework configuration.
+ </para>
+ <para>
+ The file name of the tool to search should include the extension.
+ </para>
+ </remarks>
+ <example>
+ <para>Use <b>gacutil</b> to install an assembly in the GAC.</para>
+ <code>
+ <![CDATA[
+ <exec program="${framework::get-tool-path('gacutil.exe')}" managed="strict">
+ <arg value="/i" />
+ <arg file="Cegeka.HealthFramework.dll" />
+ </exec>
+ ]]>
+ </code>
+ </example>
+ </member>
<member name="M:NAnt.Core.Functions.FrameworkFunctions.GetRuntimeEngine(System.String)">
<summary>
Gets the runtime engine of the specified framework.
@@ -3188,7 +3354,7 @@ <seealso cref="M:NAnt.Core.Functions.FrameworkFunctions.GetRuntimeFramework"/>
<seealso cref="M:NAnt.Core.Functions.FrameworkFunctions.GetTargetFramework"/>
</member>
- <member name="M:NAnt.Core.Functions.FrameworkFunctions.CheckFramework(System.String)">
+ <member name="M:NAnt.Core.Functions.FrameworkFunctions.GetFramework(System.String)">
<summary>
Checks whether the specified framework is valid.
</summary>
@@ -4412,8 +4578,8 @@ file if a build element is constructed from code.
</remarks>
</member>
- <member name="M:NAnt.Core.Task.InitializeElement(System.Xml.XmlNode)">
- <summary><note>Deprecated (to be deleted).</note></summary>
+ <member name="M:NAnt.Core.Task.Initialize">
+ <summary>Initializes the task.</summary>
</member>
<member name="M:NAnt.Core.Task.InitializeTask(System.Xml.XmlNode)">
<summary>Initializes the task.</summary>
@@ -4421,6 +4587,25 @@ <member name="M:NAnt.Core.Task.ExecuteTask">
<summary>Executes the task.</summary>
</member>
+ <member name="M:NAnt.Core.Task.GetAttributeConfigurationNode(NAnt.Core.FrameworkInfo,System.String)">
+ <summary>
+ Locates the XML node for the specified attribute in either the
+ configuration section of the extension assembly or the.project.
+ </summary>
+ <param name="attributeName">The name of attribute for which the XML configuration node should be located.</param>
+ <param name="framework">The framework to use to obtain framework specific information, or <see langword="null" /> if no framework specific information should be used.</param>
+ <returns>
+ The XML configuration node for the specified attribute, or
+ <see langword="null" /> if no corresponding XML node could be
+ located.
+ </returns>
+ <remarks>
+ If there's a valid current framework, the configuration section for
+ that framework will first be searched. If no corresponding
+ configuration node can be located in that section, the framework-neutral
+ section of the project configuration node will be searched.
+ </remarks>
+ </member>
<member name="P:NAnt.Core.Task.FailOnError">
<summary>
Determines if task failure stops the build, or is just reported.
@@ -4471,6 +4656,12 @@ still be delivered to the build listeners.
</remarks>
</member>
+ <member name="P:NAnt.Core.Task.TaskBuilder">
+ <summary>
+ Returns the TaskBuilder used to construct an instance of this
+ <see cref="T:NAnt.Core.Task"/>.
+ </summary>
+ </member>
<member name="P:NAnt.Core.Tasks.AttribTask.File">
<summary>
The name of the file which will have its attributes set. This is
@@ -4819,12 +5010,11 @@ Executes the specified target.
</summary>
</member>
- <member name="M:NAnt.Core.Tasks.CallTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.CallTask.Initialize">
<summary>
Makes sure the <see cref="T:NAnt.Core.Tasks.CallTask"/> is not calling its own
parent.
</summary>
- <param name="taskNode">The task XML node.</param>
</member>
<member name="P:NAnt.Core.Tasks.CallTask.TargetName">
<summary>
@@ -4936,11 +5126,10 @@ Initialize new instance of the <see cref="T:NAnt.Core.Tasks.CopyTask"/>.
</summary>
</member>
- <member name="M:NAnt.Core.Tasks.CopyTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.CopyTask.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.Core.Tasks.CopyTask.ExecuteTask">
<summary>
@@ -5115,11 +5304,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.DeleteTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.DeleteTask.Initialize">
<summary>
Ensures the supplied attributes are valid.
</summary>
- <param name="taskNode">Xml node used to define this task instance.</param>
</member>
<member name="P:NAnt.Core.Tasks.DeleteTask.File">
<summary>
@@ -5264,6 +5452,14 @@ <summary>
Executes a system command.
</summary>
+ <remarks>
+ <para>
+ Use of nested <see cref="P:NAnt.Core.Tasks.ExternalProgramBase.Arguments"/> element(s)
+ is advised over the <see cref="P:NAnt.Core.Tasks.ExecTask.CommandLineArguments"/> parameter, as
+ it supports automatic quoting and can resolve relative to absolute
+ paths.
+ </para>
+ </remarks>
<example>
<para>Ping "nant.sourceforge.net".</para>
<code>
@@ -5314,6 +5510,19 @@ <summary>
Provides the abstract base class for tasks that execute external applications.
</summary>
+ <remarks>
+ <para>
+ When a <see cref="T:NAnt.Core.Attributes.ProgramLocationAttribute"/> is applied to the
+ deriving class and <see cref="P:NAnt.Core.Tasks.ExternalProgramBase.ExeName"/> does not return an
+ absolute path, then the program to execute will first be searched for
+ in the location specified by <see cref="P:NAnt.Core.Attributes.ProgramLocationAttribute.LocationType"/>.
+ </para>
+ <para>
+ If the program does not exist in that location, then the list of tool
+ paths of the current target framework will be scanned in the order in
+ which they are defined in the NAnt configuration file.
+ </para>
+ </remarks>
</member>
<member name="F:NAnt.Core.Tasks.ExternalProgramBase.UnknownExitCode">
<summary>
@@ -5350,10 +5559,14 @@ <returns>The <see cref="T:System.Diagnostics.Process"/> that was started.</returns>
</member>
<member name="M:NAnt.Core.Tasks.ExternalProgramBase.StreamReaderThread_Output">
- <summary>
Reads from the stream until the external program is ended.
</summary>
+ <summary>
+ Reads from the stream until the external program is ended.
+ </summary>
</member>
<member name="M:NAnt.Core.Tasks.ExternalProgramBase.StreamReaderThread_Error">
- <summary>
Reads from the stream until the external program is ended.
</summary>
+ <summary>
+ Reads from the stream until the external program is ended.
+ </summary>
</member>
<member name="M:NAnt.Core.Tasks.ExternalProgramBase.DetermineFilePath">
<summary>
@@ -5444,8 +5657,20 @@ </member>
<member name="P:NAnt.Core.Tasks.ExternalProgramBase.UseRuntimeEngine">
<summary>
- Specifies whether the external program should be executed using a
- runtime engine, if configured. The default is <see langword="false" />.
+ Specifies whether the external program is a managed application
+ which should be executed using a runtime engine, if configured.
+ The default is <see langword="false" />.
+ </summary>
+ <value>
+ <see langword="true" /> if the external program should be executed
+ using a runtime engine; otherwise, <see langword="false" />.
+ </value>
+ </member>
+ <member name="P:NAnt.Core.Tasks.ExternalProgramBase.Managed">
+ <summary>
+ Specifies whether the external program is a managed application
+ which should be executed using a runtime engine, if configured.
+ The default is <see langword="false" />.
</summary>
<value>
<see langword="true" /> if the external program should be executed
@@ -5490,16 +5715,27 @@ exit (in time).
</value>
</member>
+ <member name="P:NAnt.Core.Tasks.ExternalProgramBase.ProcessId">
+ <summary>
+ Gets the unique identifier for the spawned application.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Tasks.ExternalProgramBase.Spawn">
+ <summary>
+ Gets or sets a value indicating whether the application should be
+ spawned. If you spawn an application, its output will not be logged
+ by NAnt. The default is <see langword="false" />.
+ </summary>
+ </member>
<member name="P:NAnt.Core.Tasks.ExternalProgramBase.CommandLine">
<summary>
Gets the command-line arguments, separated by spaces.
</summary>
</member>
- <member name="M:NAnt.Core.Tasks.ExecTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.ExecTask.Initialize">
<summary>
Performs additional checks after the task has been initialized.
</summary>
- <param name="taskNode">The <see cref="T:System.Xml.XmlNode"/> used to initialize the task.</param>
<exception cref="T:NAnt.Core.BuildException"><see cref="P:NAnt.Core.Tasks.ExecTask.FileName"/> does not hold a valid file name.</exception>
</member>
<member name="M:NAnt.Core.Tasks.ExecTask.ExecuteTask">
@@ -5518,7 +5754,10 @@ </member>
<member name="P:NAnt.Core.Tasks.ExecTask.CommandLineArguments">
<summary>
- The command-line arguments for the program.
+ The command-line arguments for the program. These will be
+ passed as is to the external program. When quoting is necessary,
+ these must be explictly set as part of the value. Consider using
+ nested <see cref="P:NAnt.Core.Tasks.ExternalProgramBase.Arguments"/> elements instead.
</summary>
</member>
<member name="P:NAnt.Core.Tasks.ExecTask.EnvironmentSet">
@@ -5564,6 +5803,17 @@ using a runtime engine; otherwise, <see langword="false" />.
</value>
</member>
+ <member name="P:NAnt.Core.Tasks.ExecTask.Managed">
+ <summary>
+ Specifies whether the external program is a managed application
+ which should be executed using a runtime engine, if configured.
+ The default is <see langword="false" />.
+ </summary>
+ <value>
+ <see langword="true" /> if the external program should be executed
+ using a runtime engine; otherwise, <see langword="false" />.
+ </value>
+ </member>
<member name="P:NAnt.Core.Tasks.ExecTask.ProgramFileName">
<summary>
Gets the filename of the external program to start.
@@ -5613,6 +5863,20 @@ otherwise, <see langword="false"/>.
</value>
</member>
+ <member name="P:NAnt.Core.Tasks.ExecTask.Spawn">
+ <summary>
+ Gets or sets a value indicating whether the application should be
+ spawned. If you spawn an application, its output will not be logged
+ by NAnt. The default is <see langword="false" />.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Tasks.ExecTask.ProcessIdProperty">
+ <summary>
+ The name of a property in which the unique identifier of the spawned
+ application should be stored. Only of interest if <see cref="P:NAnt.Core.Tasks.ExecTask.Spawn"/>
+ is <see langword="true"/>.
+ </summary>
+ </member>
<member name="T:NAnt.Core.Tasks.FailTask">
<summary>
Exits the current build by throwing a <see cref="T:NAnt.Core.BuildException"/>,
@@ -5724,11 +5988,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.GetTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.GetTask.Initialize">
<summary>
Initializes task and ensures the supplied attributes are valid.
</summary>
- <param name="taskNode">Xml node used to define this task instance.</param>
</member>
<member name="M:NAnt.Core.Tasks.GetTask.ExecuteTask">
<summary>
@@ -5832,7 +6095,7 @@ <para>Tests the value of a property using expressions.</para>
<code>
<![CDATA[
- <if test="${build.configuration='release'}">
+ <if test="${build.configuration=='release'}">
<echo>Build release configuration</echo>
</if>
]]>
@@ -5946,13 +6209,12 @@ Executes embedded tasks in the order in which they are defined.
</summary>
</member>
- <member name="M:NAnt.Core.TaskContainer.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.TaskContainer.Initialize">
<summary>
Automatically exclude build elements that are defined on the task
from things that get executed, as they are evaluated normally during
XML task initialization.
</summary>
- <param name="taskNode"><see cref="T:System.Xml.XmlNode"/> used to initialize the container.</param>
</member>
<member name="M:NAnt.Core.TaskContainer.ExecuteChildTasks">
<summary>
@@ -6091,11 +6353,10 @@ Used to check for recursived includes.
</summary>
</member>
- <member name="M:NAnt.Core.Tasks.IncludeTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.IncludeTask.Initialize">
<summary>
Verifies parameters.
</summary>
- <param name="taskNode">Xml taskNode used to define this task instance.</param>
</member>
<member name="P:NAnt.Core.Tasks.IncludeTask.BuildFileName">
<summary>
@@ -6229,7 +6490,7 @@ </summary>
<exception cref="T:NAnt.Core.BuildException">Specified assembly or path does not exist.</exception>
</member>
- <member name="M:NAnt.Core.Tasks.LoadTasksTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.LoadTasksTask.Initialize">
<summary>
Validates the attributes.
</summary>
@@ -6453,11 +6714,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.MailTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.MailTask.Initialize">
<summary>
Initializes task and ensures the supplied attributes are valid.
</summary>
- <param name="taskNode">Xml node used to define this task instance.</param>
</member>
<member name="M:NAnt.Core.Tasks.MailTask.ExecuteTask">
<summary>
@@ -6814,11 +7074,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.NAntTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.NAntTask.Initialize">
<summary>
Validates the <see cref="T:NAnt.Core.Tasks.NAntTask"/> element.
</summary>
- <param name="taskNode">The XML node of the task to use for initialization.</param>
</member>
<member name="P:NAnt.Core.Tasks.NAntTask.BuildFile">
<summary>
@@ -7118,11 +7377,10 @@ <param name="overwrite"></param>
<returns></returns>
</member>
- <member name="M:NAnt.Core.Tasks.SetEnvTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.SetEnvTask.Initialize">
<summary>
Checks whether the task is initialized with valid attributes.
</summary>
- <param name="taskNode"></param>
</member>
<member name="M:NAnt.Core.Tasks.SetEnvTask.ExecuteTask">
<summary>
@@ -7187,11 +7445,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.SleepTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.SleepTask.Initialize">
<summary>
Verify parameters.
</summary>
- <param name="taskNode"> taskNode used to define this task instance </param>
</member>
<member name="M:NAnt.Core.Tasks.SleepTask.GetSleepTime">
<summary>
@@ -7620,11 +7877,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.Core.Tasks.TouchTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.Core.Tasks.TouchTask.Initialize">
<summary>
Ensures the supplied attributes are valid.
</summary>
- <param name="taskNode">Xml node used to define this task instance.</param>
</member>
<member name="P:NAnt.Core.Tasks.TouchTask.File">
<summary>
@@ -7934,6 +8190,13 @@ <summary>
Represents a command-line argument.
</summary>
+ <remarks>
+ <para>
+ When passed to an external application, the argument will be quoted
+ when appropriate. This does not apply to the <see cref="P:NAnt.Core.Types.Argument.Line"/>
+ parameter, which is always passed as is.
+ </para>
+ </remarks>
<example>
<para>
A single command-line argument containing a space character.
@@ -8345,6 +8608,12 @@ <c>**</c> is appended. For example, <c>mypackage/test/</c> is interpreted as
if it were <c>mypackage/test/**</c>.
</para>
+ <h3>Case-Sensitivity</h3>
+ <para>
+ By default, pattern matching is case-sensitive on Unix and case-insensitive
+ on other platforms. The <see cref="P:NAnt.Core.Types.FileSet.CaseSensitive"/> parameter can be used
+ to override this.
+ </para>
<h3>Default Excludes</h3>
<para>
There are a set of definitions that are excluded by default from all
@@ -8524,6 +8793,7 @@ </item>
</list>
</example>
+ <seealso cref="T:NAnt.Core.Types.PatternSet"/>
</member>
<member name="M:NAnt.Core.Types.FileSet.#ctor">
<summary>
@@ -8544,6 +8814,11 @@ A shallow copy of the <see cref="T:NAnt.Core.Types.FileSet"/>.
</returns>
</member>
+ <member name="M:NAnt.Core.Types.FileSet.AddPatternSet(NAnt.Core.Types.PatternSet)">
+ <summary>
+ Adds a nested set of patterns, or references a standalone patternset.
+ </summary>
+ </member>
<member name="M:NAnt.Core.Types.FileSet.CopyTo(NAnt.Core.Types.FileSet)">
<summary>
Copies all instance data of the <see cref="T:NAnt.Core.Types.FileSet"/> to a given
@@ -8576,6 +8851,13 @@ <paramref name="targetLastWriteTime" />; otherwise, null.
</returns>
</member>
+ <member name="P:NAnt.Core.Types.FileSet.CaseSensitive">
+ <summary>
+ Indicates whether include and exclude patterns must be treated in a
+ case-sensitive way. The default is <see langword="true" /> on Unix;
+ otherwise, <see langword="false" />.
+ </summary>
+ </member>
<member name="P:NAnt.Core.Types.FileSet.FailOnEmpty">
<summary>
When set to <see langword="true"/>, causes the fileset element to
@@ -8774,7 +9056,7 @@ </member>
<member name="P:NAnt.Core.Types.FileSet.IncludesFile.IfDefined">
<summary>
- If <see langword="true" /> then the patterns will be included;
+ If <see langword="true" /> then the patterns will be included;
otherwise, skipped. The default is <see langword="true" />.
</summary>
</member>
@@ -9189,6 +9471,82 @@ The current element in the collection.
</returns>
</member>
+ <member name="T:NAnt.Core.Types.ManagedExecution">
+ <summary>
+ Specifies the execution mode for managed applications.
+ </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.Core.Types.ManagedExecution.Auto"/></description>
+ </item>
+ <item>
+ <term>"false"</term>
+ <description><see cref="F:NAnt.Core.Types.ManagedExecution.Default"/></description>
+ </item>
+ </list>
+ <para>
+ Even if set to <see cref="F:NAnt.Core.Types.ManagedExecution.Default"/>, the operating system can still
+ run the program as a managed application.
+ </para>
+ <para>On Linux this can be done through <b>binfmt_misc</b>, while on
+ Windows installing the .NET Framework redistributable caused managed
+ applications to run on the MS CLR by default.
+ </para>
+ </remarks>
+ </member>
+ <member name="F:NAnt.Core.Types.ManagedExecution.Default">
+ <summary>
+ Do not threat the program as a managed application.
+ </summary>
+ </member>
+ <member name="F:NAnt.Core.Types.ManagedExecution.Auto">
+ <summary>
+ Leave it up to the CLR to determine which specific version of
+ the CLR will be used to run the application.
+ </summary>
+ </member>
+ <member name="F:NAnt.Core.Types.ManagedExecution.Strict">
+ <summary>
+ Forces an application to run against the currently targeted
+ version of a given CLR.
+ </summary>
+ </member>
+ <member name="T:NAnt.Core.Types.ManagedExecutionConverter">
+ <summary>
+ Specialized <see cref="T:System.ComponentModel.EnumConverter"/> that also supports
+ case-insensitive conversion of "true" to
+ <see cref="F:NAnt.Core.Types.ManagedExecution.Auto"/> and "false" to
+ <see cref="F:NAnt.Core.Types.ManagedExecution.Default"/>.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.ManagedExecutionConverter.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Types.ManagedExecutionConverter"/>
+ class.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.ManagedExecutionConverter.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.Core.Types.Option">
<summary>
Represents an option.
@@ -9501,6 +9859,363 @@ resolved and duplicate entries removed.
</returns>
</member>
+ <member name="M:NAnt.Core.Types.Pattern.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Types.Pattern"/> class.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.Pattern.PatternName">
+ <summary>
+ The name pattern to include/exclude.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.Pattern.IfDefined">
+ <summary>
+ If <see langword="true" /> then the pattern will be used;
+ otherwise, skipped. The default is <see langword="true" />.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.Pattern.UnlessDefined">
+ <summary>
+ If <see langword="false" /> then the pattern will be used;
+ otherwise, skipped. The default is <see langword="false" />.
+ </summary>
+ </member>
+ <member name="T:NAnt.Core.Types.PatternCollection">
+ <summary>
+ Contains a collection of <see cref="T:NAnt.Core.Types.Pattern"/> elements.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Types.PatternCollection"/> class.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.Clear">
+ <summary>
+ Removes all items from the <see cref="T:NAnt.Core.Types.PatternCollection"/>.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.Add(NAnt.Core.Types.Pattern)">
+ <summary>
+ Adds a <see cref="T:NAnt.Core.Types.Pattern"/> to the end of the collection.
+ </summary>
+ <param name="item">The <see cref="T:NAnt.Core.Types.Pattern"/> to be added to the end of the collection.</param>
+ <returns>The position into which the new element was inserted.</returns>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.AddRange(NAnt.Core.Types.Pattern[])">
+ <summary>
+ Adds the elements of a <see cref="T:NAnt.Core.Types.Pattern"/> array to the end of the collection.
+ </summary>
+ <param name="items">The array of <see cref="T:NAnt.Core.Types.Pattern"/> elements to be added to the end of the collection.</param>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.AddRange(NAnt.Core.Types.PatternCollection)">
+ <summary>
+ Adds the elements of a <see cref="T:NAnt.Core.Types.PatternCollection"/> to the end of the collection.
+ </summary>
+ <param name="items">The <see cref="T:NAnt.Core.Types.PatternCollection"/> to be added to the end of the collection.</param>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.Contains(NAnt.Core.Types.Pattern)">
+ <summary>
+ Determines whether a <see cref="T:NAnt.Core.Types.Pattern"/> is in the collection.
+ </summary>
+ <param name="item">The <see cref="T:NAnt.Core.Types.Pattern"/> to locate in the collection.</param>
+ <returns>
+ <see langword="true"/> if <paramref name="item"/> is found in the
+ collection; otherwise, <see langword="false"/>.
+ </returns>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.CopyTo(NAnt.Core.Types.Pattern[],System.Int32)">
+ <summary>
+ Copies the entire collection to a compatible one-dimensional array,
+ starting at the specified index of the target array.
+ </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.Core.Types.PatternCollection.IndexOf(NAnt.Core.Types.Pattern)">
+ <summary>
+ Retrieves the index of a specified <see cref="T:NAnt.Core.Types.Pattern"/> object in the collection.
+ </summary>
+ <param name="item">The <see cref="T:NAnt.Core.Types.Pattern"/> object for which the index is returned.</param>
+ <returns>
+ The index of the specified <see cref="T:NAnt.Core.Types.Pattern"/>. If the <see cref="T:NAnt.Core.Types.Pattern"/> is not currently a member of the collection, it returns -1.
+ </returns>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.Insert(System.Int32,NAnt.Core.Types.Pattern)">
+ <summary>
+ Inserts a <see cref="T:NAnt.Core.Types.Pattern"/> 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="item">The <see cref="T:NAnt.Core.Types.Pattern"/> to insert.</param>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.GetEnumerator">
+ <summary>
+ Returns an enumerator that can iterate through the collection.
+ </summary>
+ <returns>
+ A <see cref="T:NAnt.Core.Types.PatternEnumerator"/> for the entire collection.
+ </returns>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternCollection.Remove(NAnt.Core.Types.Pattern)">
+ <summary>
+ Removes a member from the collection.
+ </summary>
+ <param name="item">The <see cref="T:NAnt.Core.Types.Pattern"/> to remove from the collection.</param>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternCollection.Item(System.Int32)">
+ <summary>
+ Gets or sets the element at the specified index.
+ </summary>
+ <param name="index">The zero-based index of the element to get or set.</param>
+ </member>
+ <member name="T:NAnt.Core.Types.PatternEnumerator">
+ <summary>
+ Enumerates the <see cref="T:NAnt.Core.Types.Pattern"/> elements of a <see cref="T:NAnt.Core.Types.PatternCollection"/>.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternEnumerator.#ctor(NAnt.Core.Types.PatternCollection)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Types.PatternEnumerator"/> class
+ with the specified <see cref="T:NAnt.Core.Types.PatternCollection"/>.
+ </summary>
+ <param name="arguments">The collection that should be enumerated.</param>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternEnumerator.MoveNext">
+ <summary>
+ Advances the enumerator to the next element of the collection.
+ </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.Core.Types.PatternEnumerator.Reset">
+ <summary>
+ Sets the enumerator to its initial position, which is before the
+ first element in the collection.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternEnumerator.Current">
+ <summary>
+ Gets the current element in the collection.
+ </summary>
+ <returns>
+ The current element in the collection.
+ </returns>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternEnumerator.System#Collections#IEnumerator#Current">
+ <summary>
+ Gets the current element in the collection.
+ </summary>
+ <returns>
+ The current element in the collection.
+ </returns>
+ </member>
+ <member name="T:NAnt.Core.Types.PatternSet">
+ <summary>
+ A set of patterns, mostly used to include or exclude certain files.
+ </summary>
+ <remarks>
+ <para>
+ The individual patterns support <c>if</c> and <c>unless</c> attributes
+ to specify that the element should only be used if or unless a given
+ condition is met.
+ </para>
+ <para>
+ The <see cref="P:NAnt.Core.Types.PatternSet.IncludesFile"/> and <see cref="P:NAnt.Core.Types.PatternSet.ExcludesFile"/>
+ elements load patterns from a file. When the file is a relative path,
+ it will be resolved relative to the project base directory in which
+ the patternset is defined. Each line of this file is taken to be a
+ pattern.
+ </para>
+ <para>
+ Patterns can be grouped to sets, and later be referenced by their
+ <see cref="P:NAnt.Core.DataTypeBase.ID"/>.
+ </para>
+ <para>
+ When used as a standalone element (global type), any properties that
+ are referenced will be resolved when the definition is processed, not
+ when it actually used. Passing a reference to a nested build file
+ will not cause the properties to be re-evaluated.
+ </para>
+ <para>
+ To improve reuse of globally defined patternsets, avoid referencing
+ any properties altogether.
+ </para>
+ </remarks>
+ <example>
+ <para>
+ Define a set of patterns that matches all .cs files that do not contain
+ the text <c>Test</c> in their name.
+ </para>
+ <code>
+ <![CDATA[
+ <patternset id="non.test.sources">
+ <include name="**/*.cs" />
+ <exclude name="**/*Test*" />
+ </patternset>
+ ]]>
+ </code>
+ </example>
+ <example>
+ <para>
+ Define two sets. One holding C# sources, and one holding VB sources.
+ Both sets only include test sources when the <c>test</c> property is
+ set. A third set combines both C# and VB sources.
+ </para>
+ <code>
+ <![CDATA[
+ <patternset id="cs.sources">
+ <include name="src/**/*.cs" />
+ <include name="test/**/*.cs" if=${property::exist('test')}" />
+ </patternset>
+
+ <patternset id="vb.sources">
+ <include name="src/**/*.vb" />
+ <include name="test/**/*.vb" if=${property::exist('test')}" />
+ </patternset>
+
+ <patternset id="all.sources">
+ <patternset refid="cs.sources" />
+ <patternset refid="vb.sources" />
+ </patternset>
+ ]]>
+ </code>
+ </example>
+ <example>
+ <para>
+ Define a set from patterns in a file.
+ </para>
+ <code>
+ <![CDATA[
+ <patternset id="sources">
+ <includesfile name="test.sources" />
+ <includesfile name="non.test.sources" />
+ </patternset>
+ ]]>
+ </code>
+ </example>
+ <example>
+ <para>
+ Defines a patternset with patterns that are loaded from an external
+ file, and shows the behavior when that patternset is passed as a
+ reference to a nested build script.
+ </para>
+ <para>
+ External file "c:\foo\build\service.lst" holding patterns
+ of source files to include for the Foo.Service assembly:
+ </para>
+ <code>
+ <![CDATA[
+ AssemblyInfo.cs
+ *Channel.cs
+ ServiceFactory.cs]]></code>
+ <para>
+ Main build script located in "c:\foo\default.build":
+ </para>
+ <code>
+ <![CDATA[
+ <project name="main" default="build">
+ <property name="build.debug" value="true" />
+
+ <patternset id="service.sources">
+ <include name="TraceListener.cs" if="${build.debug}" />
+ <includesfile name="build/service.lst" />
+ </patternset>
+
+ <property name="build.debug" value="false" />
+
+ <target name="build">
+ <nant buildfile="service/default.build" inheritrefs="true" />
+ </target>
+ </project>]]></code>
+ <para>
+ Nested build script located in "c:\foo\services\default.build"
+ which uses the patternset to feed sources files to the C# compiler:
+ </para>
+ <code>
+ <![CDATA[
+ <project name="service" default="build">
+ <target name="build">
+ <csc output="../bin/Foo.Service.dll" target="library">
+ <fileset basedir="src">
+ <patternset refid="service.sources" />
+ </fileset>
+ </csc>
+ </target>
+ </project>]]></code>
+ <para>
+ At the time when the patternset is used in the "service"
+ build script, the following source files in "c:\foo\services\src"
+ match the defined patterns:
+ </para>
+ <code>
+ <![CDATA[
+ AssemblyInfo.cs
+ MsmqChannel.cs
+ SmtpChannel.cs
+ ServiceFactory.cs
+ TraceListener.cs]]></code>
+ <para>
+ You should have observed that:
+ </para>
+ <list type="bullet">
+ <item>
+ <description>
+ although the patternset is used from the "service"
+ build script, the path to the external file is resolved relative
+ to the base directory of the "main" build script in
+ which the patternset is defined.
+ </description>
+ </item>
+ <item>
+ <description>
+ the "TraceListener.cs" file is included, even though
+ the "build.debug" property was changed to <b>false</b>
+ after the patternset was defined (but before it was passed to
+ the nested build, and used).
+ </description>
+ </item>
+ </list>
+ </example>
+ <seealso cref="T:NAnt.Core.Types.FileSet"/>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternSet.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.Types.PatternSet"/> class.
+ </summary>
+ </member>
+ <member name="M:NAnt.Core.Types.PatternSet.Append(NAnt.Core.Types.PatternSet)">
+ <summary>
+ Adds a nested set of patterns, or references other standalone
+ patternset.
+ </summary>
+ <param name="patternSet">The <see cref="T:NAnt.Core.Types.PatternSet"/> to add.</param>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternSet.Include">
+ <summary>
+ Defines a single pattern for files to include.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternSet.IncludesFile">
+ <summary>
+ Loads multiple patterns of files to include from a given file, set
+ using the <see cref="P:NAnt.Core.Types.Pattern.PatternName"/> parameter.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternSet.Exclude">
+ <summary>
+ Defines a single pattern for files to exclude.
+ </summary>
+ </member>
+ <member name="P:NAnt.Core.Types.PatternSet.ExcludesFile">
+ <summary>
+ Loads multiple patterns of files to exclude from a given file, set
+ using the <see cref="P:NAnt.Core.Types.Pattern.PatternName"/> parameter.
+ </summary>
+ </member>
<member name="T:NAnt.Core.Types.Proxy">
<summary>
Contains HTTP proxy settings used to process requests to Internet
@@ -10760,7 +11475,7 @@ <exception cref="T:System.ArgumentNullException"><paramref name="destination"/> is a null reference.</exception>
<exception cref="T:System.ArgumentException">The <see cref="T:System.Type"/> of <paramref name="destination"/> does not match the argument specification that was used to initialize the parser.</exception>
</member>
- <member name="M:NAnt.Core.Util.CommandLineParser.SplitStringNoNulls(System.String,System.Char[])">
+ <member name="M:NAnt.Core.Util.CommandLineParser.ParseArguments(System.String,System.Char[])">
<summary>
Splits a string and removes any empty strings from the
result. Same functionality as the
@@ -10775,7 +11490,7 @@ <summary>
Read a response file and parse the arguments as usual.
</summary>
- <param name="file"></param>
+ <param name="file">The response file to load arguments</param>
</member>
<member name="M:NAnt.Core.Util.CommandLineParser.ParseArgumentList(System.String[])">
<summary>
@@ -11668,13 +12383,20 @@ Spits out generic help info to the console.
</summary>
</member>
- <member name="M:NAnt.Core.DataTypeBaseBuilder.#ctor(System.Reflection.Assembly,System.String)">
+ <member name="M:NAnt.Core.ConsoleDriver.WriteException(System.Exception)">
+ <summary>
+ Write the message of the specified <see cref="T:System.Exception"/> and
+ the inner exceptions to <see cref="P:System.Console.Error"/>.
+ </summary>
+ <param name="cause">The <see cref="T:System.Exception"/> to write to <see cref="P:System.Console.Error"/>.</param>
+ </member>
+ <member name="M:NAnt.Core.DataTypeBaseBuilder.#ctor(NAnt.Core.Extensibility.ExtensionAssembly,System.String)">
<summary>
Creates a new instance of the <see cref="T:NAnt.Core.DataTypeBaseBuilder"/>
class for the specified <see cref="T:NAnt.Core.DataTypeBase"/> class in the
- <see cref="P:NAnt.Core.DataTypeBaseBuilder.Assembly"/> specified.
+ <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> specified.
</summary>
- <param name="assembly">The <see cref="P:NAnt.Core.DataTypeBaseBuilder.Assembly"/> containing the <see cref="T:NAnt.Core.DataTypeBase"/>.</param>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:NAnt.Core.DataTypeBase"/>.</param>
<param name="className">The class representing the <see cref="T:NAnt.Core.DataTypeBase"/>.</param>
</member>
<member name="P:NAnt.Core.DataTypeBaseBuilder.ClassName">
@@ -11687,15 +12409,6 @@ using this <see cref="T:NAnt.Core.DataTypeBaseBuilder"/>.
</value>
</member>
- <member name="P:NAnt.Core.DataTypeBaseBuilder.Assembly">
- <summary>
- Gets the <see cref="P:NAnt.Core.DataTypeBaseBuilder.Assembly"/> from which the data type will be
- created.
- </summary>
- <value>
- The <see cref="P:NAnt.Core.DataTypeBaseBuilder.Assembly"/> containing the data type.
- </value>
- </member>
<member name="P:NAnt.Core.DataTypeBaseBuilder.DataTypeName">
<summary>
Gets the name of the data type which the <see cref="T:NAnt.Core.DataTypeBaseBuilder"/>
@@ -11911,6 +12624,22 @@ </code>
</example>
</member>
+ <member name="M:NAnt.Core.DirectoryScanner.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.DirectoryScanner"/>.
+ </summary>
+ <remarks>
+ On unix, patterns are matching case-sensitively; otherwise, they
+ are matched case-insensitively.
+ </remarks>
+ </member>
+ <member name="M:NAnt.Core.DirectoryScanner.#ctor(System.Boolean)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NAnt.Core.DirectoryScanner"/>
+ specifying whether patterns are to be match case-sensitively.
+ </summary>
+ <param name="caseSensitive">Specifies whether patterns are to be matched case-sensititely.</param>
+ </member>
<member name="M:NAnt.Core.DirectoryScanner.Clone">
<summary>
Creates a shallow copy of the <see cref="T:NAnt.Core.DirectoryScanner"/>.
@@ -11962,6 +12691,12 @@ <param name="nantPattern">Search pattern relative to the search directory.</param>
<returns>Regular expresssion</returns>
</member>
+ <member name="P:NAnt.Core.DirectoryScanner.CaseSensitive">
+ <summary>
+ Gets or set a value indicating whether or not to use case-sensitive
+ pattern matching.
+ </summary>
+ </member>
<member name="P:NAnt.Core.DirectoryScanner.Includes">
<summary>
Gets the collection of include patterns.
@@ -12009,6 +12744,14 @@ A string that represents the contents.
</returns>
</member>
+ <member name="M:NAnt.Core.DirScannerStringCollection.#ctor(System.Boolean)">
+ <summary>
+ Initialize a new instance of the <see cref="T:NAnt.Core.DirScannerStringCollection"/>
+ class specifying whether or not string comparison should be
+ case-sensitive.
+ </summary>
+ <param name="caseSensitive">Specifies whether or not string comparison should be case-sensitive.</param>
+ </member>
<member name="M:NAnt.Core.DirScannerStringCollection.Clone">
<summary>
Creates a shallow copy of the <see cref="T:NAnt.Core.DirScannerStringCollection"/>.
@@ -12028,8 +12771,8 @@ </returns>
<remarks>
String comparisons within the <see cref="T:NAnt.Core.DirScannerStringCollection"/>
- are only case-sensitive if the filesystem on which <paramref name="value"/>
- is located, is case-sensitive.
+ are only case-sensitive if <see cref="P:NAnt.Core.DirScannerStringCollection.CaseSensitive"/> is
+ <see langword="true"/>
</remarks>
</member>
<member name="M:NAnt.Core.DirScannerStringCollection.IndexOf(System.String)">
@@ -12044,20 +12787,17 @@ </returns>
<remarks>
String comparisons within the <see cref="T:NAnt.Core.DirScannerStringCollection"/>
- are only case-sensitive if the filesystem on which <paramref name="value"/>
- is located, is case-sensitive.
+ are only case-sensitive if <see cref="P:NAnt.Core.DirScannerStringCollection.CaseSensitive"/> is
+ <see langword="true"/>.
</remarks>
</member>
- <member name="M:NAnt.Core.DirScannerStringCollection.IsCaseSensitiveFileSystem(System.String)">
+ <member name="P:NAnt.Core.DirScannerStringCollection.CaseSensitive">
<summary>
- Determines whether the filesystem on which the specified path is
- located is case-sensitive.
+ Gets a value indicating whether string comparison is case-sensitive.
</summary>
- <param name="path">The path of which should be determined whether its on a case-sensitive filesystem.</param>
- <returns>
- <see langword="true" /> if <paramref name="path" /> is located on a
- case-sensitive filesystem; otherwise, <see langword="false" />.
- </returns>
+ <value>
+ A value indicating whether string comparison is case-sensitive.
+ </value>
</member>
<member name="M:NAnt.Core.ExpressionEvaluator.GetPropertyValue(System.String)">
<summary>
@@ -12084,22 +12824,52 @@ information and directory locations for finding tools.
</summary>
</member>
- <member name="M:NAnt.Core.FrameworkInfo.#ctor(System.String,System.String,System.String,System.Version,System.Version,System.String,System.String,System.String,System.String,NAnt.Core.Project)">
+ <member name="M:NAnt.Core.FrameworkInfo.ResolveAssembly(System.String)">
<summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.FrameworkInfo"/> class
- with a name, description, version, runtime engine, directory information
- and properties.
+ Resolves the specified assembly to a full path by matching it
+ against the reference assemblies.
</summary>
- <param name="name">The name of the framework.</param>
- <param name="family">The family of the framework.</param>
- <param name="description">The description of the framework.</param>
- <param name="version">The version number of the framework.</param>
- <param name="clrVersion">The Common Language Runtime version of the framework.</param>
- <param name="frameworkDir">The directory of the framework.</param>
- <param name="sdkDir">The directory containing the SDK tools for the framework, if available.</param>
- <param name="frameworkAssemblyDir">The directory containing the system assemblies for the framework.</param>
- <param name="runtimeEngine">The name of the runtime engine, if required.</param>
- <param name="project">The <see cref="P:NAnt.Core.FrameworkInfo.Project"/> used to initialized the framework.</param>
+ <param name="fileName">The file name of the assembly to resolve (without path information).</param>
+ <returns>
+ An absolute path to the assembly, or <see langword="null" /> if the
+ assembly could not be found.
+ </returns>
+ <remarks>
+ Whether the file name is matched case-sensitive depends on the
+ operating system.
+ </remarks>
+ </member>
+ <member name="M:NAnt.Core.FrameworkInfo.GetToolPath(System.String)">
+ <summary>
+ Searches the list of tool paths of the current framework for the
+ given file, and returns the absolute path if found.
+ </summary>
+ <param name="tool">The file name of the tool to search for.</param>
+ <returns>
+ The absolute path to <paramref name="tool"/> if found in one of the
+ configured tool paths; otherwise, <see langword="null"/>.
+ </returns>
+ <exception cref="T:System.ArgumentNullException"><paramref name="tool"/> is <see langword="null"/>.</exception>
+ <remarks>
+ <para>
+ The configured tool paths are scanned in the order in which they
+ are defined in the framework configuration.
+ </para>
+ <para>
+ The file name of the tool to search should include the extension.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:NAnt.Core.FrameworkInfo.GetXmlAttributeValue(System.Xml.XmlNode,System.String)">
+ <summary>
+ Gets the value of the specified attribute from the specified node.
+ </summary>
+ <param name="xmlNode">The node of which the attribute value should be retrieved.</param>
+ <param name="attributeName">The attribute of which the value should be returned.</param>
+ <returns>
+ The value of the attribute with the specified name or <see langword="null" />
+ if the attribute does not exist or has no value.
+ </returns>
</member>
<member name="P:NAnt.Core.FrameworkInfo.Name">
<summary>
@@ -12135,10 +12905,10 @@ </member>
<member name="P:NAnt.Core.FrameworkInfo.ClrVersion">
<summary>
- Gets the Common Language Runtime of the framework.
+ Gets the Common Language Runtime version of the framework.
</summary>
<value>
- The Common Language Runtime of the framework.
+ The Common Language Runtime version of the framework.
</value>
</member>
<member name="P:NAnt.Core.FrameworkInfo.VisualStudioVersion">
@@ -12159,13 +12929,13 @@ The base directory of the framework tools for the framework.
</value>
</member>
- <member name="P:NAnt.Core.FrameworkInfo.RuntimeEngine">
+ <member name="P:NAnt.Core.FrameworkInfo.Runtime">
<summary>
- Gets the path to the runtime engine for this framework.
+ Gets the runtime information for this framework.
</summary>
<value>
- The path to the runtime engine for the framework or <see langword="null" />
- if no runtime engine is configured for the framework.
+ The runtime information for the framework or <see langword="null" />
+ if no runtime information is configured for the framework.
</value>
</member>
<member name="P:NAnt.Core.FrameworkInfo.FrameworkAssemblyDirectory">
@@ -12184,7 +12954,8 @@ </summary>
<value>
The directory containing the SDK tools for the framework or a null
- refererence if the sdk directory
+ reference if the configured sdk directory does not exist, or is not
+ valid.
</value>
</member>
<member name="P:NAnt.Core.FrameworkInfo.Project">
@@ -12195,18 +12966,6 @@ The <see cref="P:NAnt.Core.FrameworkInfo.Project"/> used to initialize this framework.
</value>
</member>
- <member name="P:NAnt.Core.FrameworkInfo.EnvironmentVariables">
- <summary>
- Gets or sets the collection of environment variables that should be
- passed to external programs that are launched in the runtime engine
- of the current framework.
- </summary>
- <value>
- The collection of environment variables that should be passed to
- external programs that are launched in the runtime engine of the
- current framework.
- </value>
- </member>
<member name="P:NAnt.Core.FrameworkInfo.TaskAssemblies">
<summary>
Gets the set of assemblies and directories that should scanned for
@@ -12217,6 +12976,27 @@ NAnt tasks, types or functions.
</value>
</member>
+ <member name="P:NAnt.Core.FrameworkInfo.IsValid">
+ <summary>
+ Returns a value indicating whether the current framework is valid.
+ </summary>
+ <value>
+ <see langword="true" /> if the framework is installed and correctly
+ configured; otherwise, <see langword="false" />.
+ </value>
+ </member>
+ <member name="P:NAnt.Core.FrameworkInfo.NamespaceManager">
+ <summary>
+ Gets the <see cref="T:System.Xml.XmlNamespaceManager"/>.
+ </summary>
+ <value>
+ The <see cref="T:System.Xml.XmlNamespaceManager"/>.
+ </value>
+ <remarks>
+ The <see cref="P:NAnt.Core.FrameworkInfo.NamespaceManager"/> defines the current namespace
+ scope and provides methods for looking up namespace information.
+ </remarks>
+ </member>
<member name="M:NAnt.Core.FrameworkInfoDictionary.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NAnt.Core.FrameworkInfoDictionary"/> class.
@@ -12715,7 +13495,7 @@ logger.
</summary>
<param name="e">The event to output.</param>
- <param name="indentationLength">TODO</param>
+ <param name="indentationLength">The number of characters that the message should be indented.</param>
</member>
<member name="F:NAnt.Core.DefaultLogger._buildReports">
<summary>
@@ -13534,8 +14314,6 @@ <item>nant.project.buildfile (if doc has baseuri)</item>
<item>nant.project.basedir</item>
<item>nant.project.default = defaultTarget</item>
- <item>nant.tasks.[name] = true</item>
- <item>nant.tasks.[name].location = AssemblyFileName</item>
</list>
</summary>
<param name="doc">An <see cref="T:System.Xml.XmlDocument"/> representing the project definition.</param>
@@ -13952,13 +14730,6 @@ </summary>
<param name="propertyNodes">An <see cref="T:System.Xml.XmlNodeList"/> representing global properties.</param>
</member>
- <member name="M:NAnt.Core.ProjectSettingsLoader.ProcessFrameworkEnvironmentVariables(System.Xml.XmlNodeList,NAnt.Core.FrameworkInfo)">
- <summary>
- Processes the framework environment variables.
- </summary>
- <param name="environmentNodes">An <see cref="T:System.Xml.XmlNodeList"/> representing framework environment variables.</param>
- <param name="framework">The <see cref="T:NAnt.Core.FrameworkInfo"/> to obtain framework-specific information from.</param>
- </member>
<member name="M:NAnt.Core.ProjectSettingsLoader.GetXmlAttributeValue(System.Xml.XmlNode,System.String)">
<summary>
Gets the value of the specified attribute from the specified node.
@@ -14302,13 +15073,13 @@ names of the targets in the <see cref="T:NAnt.Core.TargetCollection"/>.
</returns>
</member>
- <member name="M:NAnt.Core.TaskBuilder.#ctor(System.Reflection.Assembly,System.String)">
+ <member name="M:NAnt.Core.TaskBuilder.#ctor(NAnt.Core.Extensibility.ExtensionAssembly,System.String)">
<summary>
Creates a new instance of the <see cref="T:NAnt.Core.TaskBuilder"/> class
- for the specified <see cref="T:NAnt.Core.Task"/> class in the <see cref="P:NAnt.Core.TaskBuilder.Assembly"/>
- specified.
+ for the specified <see cref="T:NAnt.Core.Task"/> class in the specified
+ <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/>.
</summary>
- <param name="assembly">The <see cref="P:NAnt.Core.TaskBuilder.Assembly"/> containing the <see cref="T:NAnt.Core.Task"/>.</param>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:NAnt.Core.Task"/>.</param>
<param name="className">The class representing the <see cref="T:NAnt.Core.Task"/>.</param>
</member>
<member name="P:NAnt.Core.TaskBuilder.ClassName">
@@ -14321,14 +15092,6 @@ this <see cref="T:NAnt.Core.TaskBuilder"/>.
</value>
</member>
- <member name="P:NAnt.Core.TaskBuilder.Assembly">
- <summary>
- Gets the <see cref="P:NAnt.Core.TaskBuilder.Assembly"/> from which the task will be created.
- </summary>
- <value>
- The <see cref="P:NAnt.Core.TaskBuilder.Assembly"/> containing the task.
- </value>
- </member>
<member name="P:NAnt.Core.TaskBuilder.TaskName">
<summary>
Gets the name of the task which the <see cref="T:NAnt.Core.TaskBuilder"/>
@@ -14556,10 +15319,11 @@ The new <see cref="T:NAnt.Core.Task"/> instance.
</returns>
</member>
- <member name="M:NAnt.Core.TypeFactory.ScanTypeForTasks(System.Type,NAnt.Core.Task)">
+ <member name="M:NAnt.Core.TypeFactory.ScanTypeForTasks(NAnt.Core.Extensibility.ExtensionAssembly,System.Type,NAnt.Core.Task)">
<summary>
Scans a given <see cref="T:System.Type"/> for tasks.
</summary>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:System.Type"/> to scan.</param>
<param name="type">The <see cref="T:System.Type"/> to scan.</param>
<param name="task">The <see cref="T:NAnt.Core.Task"/> which will be used to output messages to the build log.</param>
<returns>
@@ -14567,10 +15331,11 @@ <see cref="T:NAnt.Core.Task"/>; otherwise, <see langword="false"/>.
</returns>
</member>
- <member name="M:NAnt.Core.TypeFactory.ScanTypeForDataTypes(System.Type,NAnt.Core.Task)">
+ <member name="M:NAnt.Core.TypeFactory.ScanTypeForDataTypes(NAnt.Core.Extensibility.ExtensionAssembly,System.Type,NAnt.Core.Task)">
<summary>
Scans a given <see cref="T:System.Type"/> for data type.
</summary>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:System.Type"/> to scan.</param>
<param name="type">The <see cref="T:System.Type"/> to scan.</param>
<param name="task">The <see cref="T:NAnt.Core.Task"/> which will be used to output messages to the build log.</param>
<returns>
@@ -14589,10 +15354,11 @@ valid set of funtions; otherwise, <see langword="false"/>.
</returns>
</member>
- <member name="M:NAnt.Core.TypeFactory.ScanTypeForFilters(System.Type,NAnt.Core.Task)">
+ <member name="M:NAnt.Core.TypeFactory.ScanTypeForFilters(NAnt.Core.Extensibility.ExtensionAssembly,System.Type,NAnt.Core.Task)">
<summary>
Scans a given <see cref="T:System.Type"/> for filters.
</summary>
+ <param name="extensionAssembly">The <see cref="T:NAnt.Core.Extensibility.ExtensionAssembly"/> containing the <see cref="T:System.Type"/> to scan.</param>
<param name="type">The <see cref="T:System.Type"/> to scan.</param>
<param name="task">The <see cref="T:NAnt.Core.Task"/> which will be used to output messages to the build log.</param>
<returns>
@@ -14673,75 +15439,6 @@ <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
</member>
- <member name="M:NAnt.Core.InvalidVolumeException.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.InvalidVolumeException"/> class.
- </summary>
- </member>
- <member name="M:NAnt.Core.InvalidVolumeException.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.InvalidVolumeException"/> class
- with a descriptive message.
- </summary>
- <param name="message">A descriptive message to include with the exception.</param>
- </member>
- <member name="M:NAnt.Core.InvalidVolumeException.#ctor(System.String,System.Exception)">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.InvalidVolumeException"/> class
- with the specified descriptive message and inner exception.
- </summary>
- <param name="message">A descriptive message to include with the exception.</param>
- <param name="innerException">A nested exception that is the cause of the current exception.</param>
- </member>
- <member name="M:NAnt.Core.InvalidVolumeException.#ctor(System.Uri)">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.InvalidVolumeException"/> class
- with the specified <see cref="T:System.Uri"/>.
- </summary>
- <param name="volUri"><see cref="T:System.Uri"/> of the invalid volume.</param>
- </member>
- <member name="M:NAnt.Core.InvalidVolumeException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.InvalidVolumeException"/> class
- with serialized data.
- </summary>
- <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
- <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
- </member>
- <member name="T:NAnt.Core.VolumeType">
- <summary>
- Represents the different types of drives that may exist in a system.
- </summary>
- </member>
- <member name="T:NAnt.Core.VolumeFlags">
- <summary>
- Represents the different supporting flags that may be set on a file system.
- </summary>
- </member>
- <member name="T:NAnt.Core.VolumeInfo">
- <summary>
- Presents information about a volume.
- </summary>
- </member>
- <member name="M:NAnt.Core.VolumeInfo.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:NAnt.Core.VolumeInfo"/> class.
- </summary>
- <remarks>
- Uses a private access modifier to prevent instantiation of this class.
- </remarks>
- </member>
- <member name="M:NAnt.Core.VolumeInfo.IsVolumeCaseSensitive(System.Uri)">
- <summary>
- Determines whether the file system is case sensitive. Performs a
- P/Invoke to the Win32 API GetVolumeInformation.
- </summary>
- <param name="uri"></param>
- <returns>
- <see langword="true" /> if the specified volume is case-sensitive;
- otherwise, <see langword="false" />.
- </returns>
- </member>
<member name="T:NAnt.Core.XmlLogger">
<summary>
Used to wrap log messages in xml <message/> elements.
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.dll Binary files differindex ae0552c..dd7887b 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.xml index bded9bc..3b29946 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.DotNetTasks.xml @@ -221,7 +221,7 @@ </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 +239,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 +327,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 +401,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.
@@ -796,6 +816,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="F: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 +912,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.
@@ -1628,6 +1661,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 +1700,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 +1783,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 +1819,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 +1897,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>
@@ -2024,11 +2114,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>
@@ -2650,9 +2739,9 @@ </code>
</example>
</member>
- <member name="M:NAnt.DotNet.Tasks.ScriptTask.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.DotNet.Tasks.ScriptTask.Initialize">
<summary>
- Initializes the task using the specified xml node.
+ Initializes the task.
</summary>
</member>
<member name="M:NAnt.DotNet.Tasks.ScriptTask.ExecuteTask">
@@ -3468,10 +3557,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
+ <reference-assemblies> filesets in the <framework> node
+ of the NAnt configuration file.
+ </para>
</remarks>
<example>
<para>
@@ -3798,6 +3892,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.
@@ -4132,6 +4294,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="item"/> 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="item"/> 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><moduleset></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.
@@ -4567,7 +5060,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 +5116,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">
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.dll Binary files differindex a679416..d09a7ca 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.xml index 31e2584..8327211 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.MSNetTasks.xml @@ -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>
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit.dll Binary files differindex e78b7b7..e242043 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit1Tasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit1Tasks.dll Binary files differindex a95b4d0..6f0086f 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit1Tasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit1Tasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit2Tasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit2Tasks.dll Binary files differindex 7eab179..5663df3 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit2Tasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.NUnit2Tasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.dll Binary files differindex c44fd3a..465c18d 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.xml index e8bc766..8da09a1 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.SourceControlTasks.xml @@ -679,11 +679,10 @@ </code>
</example>
</member>
- <member name="M:NAnt.SourceControl.Tasks.CvsPass.InitializeTask(System.Xml.XmlNode)">
+ <member name="M:NAnt.SourceControl.Tasks.CvsPass.Initialize">
<summary>
Ensures all information is available to execute the <see cref="T:NAnt.Core.Task"/>.
</summary>
- <param name="taskNode">The <see cref="T:System.Xml.XmlNode"/> used to initialize the <see cref="T:NAnt.Core.Task"/>.</param>
</member>
<member name="M:NAnt.SourceControl.Tasks.CvsPass.ExecuteTask">
<summary>
@@ -1267,12 +1266,11 @@ attributes useful in the context of the <see cref="T:NAnt.SourceControl.Tasks.CvsTask"/>.
</summary>
</member>
- <member name="M:NAnt.SourceControl.Types.CvsFileSet.InitializeElement(System.Xml.XmlNode)">
+ <member name="M:NAnt.SourceControl.Types.CvsFileSet.Initialize">
<summary>
Initialize the <see cref="T:NAnt.SourceControl.Types.CvsFileSet"/> object and locate the .cvsignore
files to add to the exclude list.
</summary>
- <param name="elementNode"></param>
</member>
<member name="P:NAnt.SourceControl.Types.CvsFileSet.UseCvsIgnore">
<summary>
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.dll Binary files differindex da9d975..d83a222 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.xml index a782968..7cdc619 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VSNetTasks.xml @@ -249,6 +249,17 @@ The current element in the collection.
</returns>
</member>
+ <member name="M:NAnt.VSNet.Extensibility.IProjectBuildProvider.IsSupported(System.String,System.Xml.XmlElement)">
+ <summary>
+ Returns a number representing how much this file fits this project type.
+ </summary>
+ <param name="projectExt"></param>
+ <param name="xmlDefinition"></param>
+ <returns></returns>
+ <remarks>
+ This enables the override in other providers. Do not return big numbers, mainly when compring only on filename.
+ </remarks>
+ </member>
<member name="T:NAnt.VSNet.Rainier.Solution">
<summary>
Analyses Microsoft Visual Studio .NET 2002 (Rainier) solution files.
@@ -1741,6 +1752,11 @@ for use with COM components; otherwise, <see langword="false" />.
</value>
</member>
+ <member name="T:NAnt.VSNet.EverettSolution">
+ <summary>
+ Analyses Microsoft Visual Studio .NET 2003 (Everett) solution files.
+ </summary>
+ </member>
<member name="T:NAnt.VSNet.GenericSolution">
<summary>
Supports grouping of individual projects, and treating them as a solution.
@@ -2324,6 +2340,11 @@ A Visual J# project.
</summary>
</member>
+ <member name="F:NAnt.VSNet.ProjectType.MSBuild">
+ <summary>
+ MSBuild project.
+ </summary>
+ </member>
<member name="T:NAnt.VSNet.BuildResult">
<summary>
Specifies the result of the build.
@@ -2354,6 +2375,11 @@ Visual Studio.NET 2003
</summary>
</member>
+ <member name="F:NAnt.VSNet.ProductVersion.Whidbey">
+ <summary>
+ Visual Studio 2005
+ </summary>
+ </member>
<member name="T:NAnt.VSNet.ProjectLocation">
<summary>
Indentifies the physical location of a managed project.
@@ -2361,7 +2387,7 @@ </member>
<member name="F:NAnt.VSNet.ProjectLocation.Local">
<summary>
- A local project.
+ A local project.
</summary>
</member>
<member name="F:NAnt.VSNet.ProjectLocation.Web">
@@ -2531,7 +2557,7 @@ Factory class for VS.NET projects.
</summary>
</member>
- <member name="M:NAnt.VSNet.ProjectFactory.#ctor">
+ <member name="M:NAnt.VSNet.ProjectFactory.#ctor(NAnt.VSNet.Tasks.SolutionTask)">
<summary>
Initializes a new instance of the <see cref="T:NAnt.VSNet.ProjectFactory"/>
class.
@@ -2654,6 +2680,11 @@ Valid commands are those in a .bat file. For more info see MSDN.
</remarks>
</member>
+ <member name="T:NAnt.VSNet.RainierSolution">
+ <summary>
+ Analyses Microsoft Visual Studio .NET 2002 (Rainier) solution files.
+ </summary>
+ </member>
<member name="M:NAnt.VSNet.ReferencesResolver.InitializeLifetimeService">
<summary>
Obtains a lifetime service object to control the lifetime policy for
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VisualCppTasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VisualCppTasks.dll Binary files differindex 4ca00ad..95df6db 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VisualCppTasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.VisualCppTasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Win32Tasks.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Win32Tasks.dll Binary files differindex 4979a83..55ff389 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Win32Tasks.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.Win32Tasks.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe Binary files differindex 689b1eb..289c87f 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe.config b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe.config index 7c9646c..15162f9 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe.config +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.exe.config @@ -25,117 +25,79 @@ <!-- include NAnt test assemblies -->
<include name="*Tests.dll" />
<!-- include framework-neutral assemblies -->
- <include name="tasks/*.dll" />
+ <include name="extensions/common/neutral/**/*.dll" />
<!-- exclude Microsoft.NET specific task assembly -->
<exclude name="NAnt.MSNetTasks.dll" />
<!-- exclude Microsoft.NET specific test assembly -->
<exclude name="NAnt.MSNet.Tests.dll" />
</task-assemblies>
- <framework
- name="net-3.5"
- family="net"
- version="3.5"
- description="Microsoft .NET Framework 3.5"
- runtimeengine=""
- sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
- frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
- frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
- clrversion="2.0.50727">
- <task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 2.0 specific assemblies -->
- <include name="tasks/net/2.0/**/*.dll" />
- <!-- include Microsoft.NET specific task assembly -->
- <include name="NAnt.MSNetTasks.dll" />
- <!-- include Microsoft.NET specific test assembly -->
- <include name="NAnt.MSNet.Tests.dll" />
- </task-assemblies>
- <project>
- <readregistry
- property="installRoot"
- key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
- hive="LocalMachine" />
- <readregistry
- property="sdkInstallRoot"
- key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
- hive="LocalMachine"
- failonerror="false" />
- </project>
- <tasks>
- <task name="csc">
- <attribute name="exename">csc</attribute>
- <attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportswarnaserrorlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
- <attribute name="supportsplatform">true</attribute>
- <attribute name="supportslangversion">true</attribute>
- </task>
- <task name="vbc">
- <attribute name="exename">vbc</attribute>
- <attribute name="supportsdocgeneration">true</attribute>
- <attribute name="supportsnostdlib">true</attribute>
- <attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
- <attribute name="supportsplatform">true</attribute>
- <attribute name="supportswarnaserrorlist">true</attribute>
- </task>
- <task name="jsc">
- <attribute name="exename">jsc</attribute>
- <attribute name="supportsplatform">true</attribute>
- </task>
- <task name="vjc">
- <attribute name="exename">vjc</attribute>
- <attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
- </task>
- <task name="resgen">
- <attribute name="exename">resgen</attribute>
- <attribute name="supportsassemblyreferences">true</attribute>
- <attribute name="supportsexternalfilereferences">true</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
- </task>
- <task name="delay-sign">
- <attribute name="exename">sn</attribute>
- </task>
- <task name="license">
- <attribute name="exename">lc</attribute>
- <attribute name="supportsassemblyreferences">true</attribute>
- </task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
- </tasks>
- </framework>
<framework
name="net-1.0"
family="net"
version="1.0"
description="Microsoft .NET Framework 1.0"
- runtimeengine=""
sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
frameworkdirectory="${path::combine(installRoot, 'v1.0.3705')}"
frameworkassemblydirectory="${path::combine(installRoot, 'v1.0.3705')}"
clrversion="1.0.3705"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/net/1.0" />
+ <directory name="lib/net/neutral" />
+ <directory name="lib/common/1.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v1.0.3705" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(installRoot, 'v1.0.3705')}">
+ <include name="Accessibility.dll" />
+ <include name="mscorlib.dll" />
+ <include name="Microsoft.Vsa.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="System.Configuration.Install.dll" />
+ <include name="System.Data.dll" />
+ <include name="System.Design.dll" />
+ <include name="System.DirectoryServices.dll" />
+ <include name="System.dll" />
+ <include name="System.Drawing.Design.dll" />
+ <include name="System.Drawing.dll" />
+ <include name="System.EnterpriseServices.dll" />
+ <include name="System.Management.dll" />
+ <include name="System.Messaging.dll" />
+ <include name="System.Runtime.Remoting.dll" />
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
+ <include name="System.Security.dll" />
+ <include name="System.ServiceProcess.dll" />
+ <include name="System.Web.dll" />
+ <include name="System.Web.RegularExpressions.dll" />
+ <include name="System.Web.Services.dll" />
+ <include name="System.Windows.Forms.dll" />
+ <include name="System.XML.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 1.0 specific assemblies -->
- <include name="tasks/net/1.0/**/*.dll" />
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 1.0 specific assemblies -->
+ <include name="extensions/net/1.0/**/*.dll" />
<!-- include Microsoft.NET specific task assembly -->
<include name="NAnt.MSNetTasks.dll" />
<!-- include Microsoft.NET specific test assembly -->
<include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 1.0 specific assemblies -->
+ <include name="extensions/common/1.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'bin')}" />
+ <directory name="${path::combine(installRoot, 'v1.0.3705')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -149,66 +111,92 @@ </project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
</task>
- <task name="vbc">
- <attribute name="exename">vbc</attribute>
- </task>
- <task name="jsc">
- <attribute name="exename">jsc</attribute>
- </task>
<task name="vjc">
- <attribute name="exename">vjc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
</task>
- <task name="resgen">
- <attribute name="exename">resgen</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
- </task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
</task>
<task name="license">
<attribute name="exename">lc</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
<task name="aximp">
<attribute name="supportsrcw">false</attribute>
</task>
<task name="tlbimp">
- <attribute name="supportstransform">false</attribute>
+ <attribute name="supportstransform">false</attribute>
</task>
</tasks>
</framework>
<framework
- name="net-1.1"
+ name="net-1.1"
family="net"
version="1.1"
- description="Microsoft .NET Framework 1.1"
- runtimeengine=""
+ description="Microsoft .NET Framework 1.1"
sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
- frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
+ frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
frameworkassemblydirectory="${path::combine(installRoot, 'v1.1.4322')}"
clrversion="1.1.4322"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/net/1.1" />
+ <directory name="lib/net/neutral" />
+ <directory name="lib/common/1.1" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v1.1.4322" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(installRoot, 'v1.1.4322')}">
+ <include name="Accessibility.dll" />
+ <include name="mscorlib.dll" />
+ <include name="Microsoft.Vsa.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="System.Configuration.Install.dll" />
+ <include name="System.Data.dll" />
+ <include name="System.Design.dll" />
+ <include name="System.DirectoryServices.dll" />
+ <include name="System.dll" />
+ <include name="System.Drawing.Design.dll" />
+ <include name="System.Drawing.dll" />
+ <include name="System.EnterpriseServices.dll" />
+ <include name="System.Management.dll" />
+ <include name="System.Messaging.dll" />
+ <include name="System.Runtime.Remoting.dll" />
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
+ <include name="System.Security.dll" />
+ <include name="System.ServiceProcess.dll" />
+ <include name="System.Web.dll" />
+ <include name="System.Web.Mobile.dll" />
+ <include name="System.Web.RegularExpressions.dll" />
+ <include name="System.Web.Services.dll" />
+ <include name="System.Windows.Forms.dll" />
+ <include name="System.XML.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 1.1 specific assemblies -->
- <include name="tasks/net/1.1/**/*.dll" />
- <!-- include Microsoft.NET specific task assembly -->
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 1.1 specific assemblies -->
+ <include name="extensions/net/1.1/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
<include name="NAnt.MSNetTasks.dll" />
- <!-- include Microsoft.NET specific test assembly -->
+ <!-- include MS.NET specific test assembly -->
<include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 1.1 specific assemblies -->
+ <include name="extensions/common/1.1/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'bin')}" />
+ <directory name="${path::combine(installRoot, 'v1.1.4322')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -222,60 +210,96 @@ </project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
</task>
- <task name="vbc">
- <attribute name="exename">vbc</attribute>
- </task>
- <task name="jsc">
- <attribute name="exename">jsc</attribute>
- </task>
<task name="vjc">
- <attribute name="exename">vjc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
</task>
- <task name="resgen">
- <attribute name="exename">resgen</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
- </task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
</task>
<task name="license">
<attribute name="exename">lc</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
</tasks>
</framework>
<framework
name="net-2.0"
family="net"
- version="2.0"
+ version="2.0"
description="Microsoft .NET Framework 2.0"
- runtimeengine=""
sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/net/2.0" />
+ <directory name="lib/net/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v2.0.50727" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(installRoot, 'v2.0.50727')}">
+ <include name="Accessibility.dll" />
+ <include name="mscorlib.dll" />
+ <include name="Microsoft.Build.Engine.dll" />
+ <include name="Microsoft.Build.Framework.dll" />
+ <include name="Microsoft.Build.Utilities.dll" />
+ <include name="Microsoft.Vsa.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="Microsoft.VisualBasic.Compatibility.dll" />
+ <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
+ <include name="System.Configuration.dll" />
+ <include name="System.Configuration.Install.dll" />
+ <include name="System.Data.dll" />
+ <include name="System.Data.OracleClient.dll" />
+ <include name="System.Data.SqlXml.dll" />
+ <include name="System.Deployment.dll" />
+ <include name="System.Design.dll" />
+ <include name="System.DirectoryServices.dll" />
+ <include name="System.dll" />
+ <include name="System.Drawing.Design.dll" />
+ <include name="System.Drawing.dll" />
+ <include name="System.EnterpriseServices.dll" />
+ <include name="System.Management.dll" />
+ <include name="System.Messaging.dll" />
+ <include name="System.Runtime.Remoting.dll" />
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
+ <include name="System.Security.dll" />
+ <include name="System.ServiceProcess.dll" />
+ <include name="System.Transactions.dll" />
+ <include name="System.Web.dll" />
+ <include name="System.Web.Mobile.dll" />
+ <include name="System.Web.RegularExpressions.dll" />
+ <include name="System.Web.Services.dll" />
+ <include name="System.Windows.Forms.dll" />
+ <include name="System.Xml.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 2.0 specific assemblies -->
- <include name="tasks/net/2.0/**/*.dll" />
- <!-- include Microsoft.NET specific task assembly -->
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 2.0 specific assemblies -->
+ <include name="extensions/net/2.0/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
<include name="NAnt.MSNetTasks.dll" />
- <!-- include Microsoft.NET specific test assembly -->
+ <!-- include MS.NET specific test assembly -->
<include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'bin')}" />
+ <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -289,42 +313,37 @@ </project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportswarnaserrorlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportsplatform">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
<task name="vbc">
- <attribute name="exename">vbc</attribute>
<attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportsnostdlib">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportsplatform">true</attribute>
<attribute name="supportswarnaserrorlist">true</attribute>
</task>
<task name="jsc">
- <attribute name="exename">jsc</attribute>
<attribute name="supportsplatform">true</attribute>
</task>
<task name="vjc">
- <attribute name="exename">vjc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">resgen</attribute>
<attribute name="supportsassemblyreferences">true</attribute>
<attribute name="supportsexternalfilereferences">true</attribute>
</task>
- <task name="al">
- <attribute name="exename">al</attribute>
- </task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
</task>
@@ -332,35 +351,115 @@ <attribute name="exename">lc</attribute>
<attribute name="supportsassemblyreferences">true</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
</tasks>
</framework>
<framework
- name="net-2.0"
- family="net"
- version="2.0"
- description="Microsoft .NET Framework 2.0 Beta 2"
- runtimeengine=""
- sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
- frameworkdirectory="${path::combine(installRoot, 'v2.0.50215')}"
- frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50215')}"
- clrversion="2.0.50215"
+ name="net-3.5"
+ family="net"
+ version="2.0"
+ description="Microsoft .NET Framework 3.5"
+ sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
+ frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
+ frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/net/2.0" />
+ <directory name="lib/net/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v2.0.50727" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(installRoot, 'v2.0.50727')}">
+ <include name="Accessibility.dll" />
+ <include name="mscorlib.dll" />
+ <include name="Microsoft.Build.Utilities.dll" />
+ <include name="Microsoft.Vsa.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="Microsoft.VisualBasic.Compatibility.dll" />
+ <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
+ <include name="System.Configuration.dll" />
+ <include name="System.Configuration.Install.dll" />
+ <include name="System.Data.dll" />
+ <include name="System.Data.OracleClient.dll" />
+ <include name="System.Data.SqlXml.dll" />
+ <include name="System.Deployment.dll" />
+ <include name="System.Design.dll" />
+ <include name="System.DirectoryServices.dll" />
+ <include name="System.dll" />
+ <include name="System.Drawing.Design.dll" />
+ <include name="System.Drawing.dll" />
+ <include name="System.EnterpriseServices.dll" />
+ <include name="System.Management.dll" />
+ <include name="System.Messaging.dll" />
+ <include name="System.Runtime.Remoting.dll" />
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
+ <include name="System.Security.dll" />
+ <include name="System.ServiceProcess.dll" />
+ <include name="System.Transactions.dll" />
+ <include name="System.Web.dll" />
+ <include name="System.Web.Mobile.dll" />
+ <include name="System.Web.RegularExpressions.dll" />
+ <include name="System.Web.Services.dll" />
+ <include name="System.Windows.Forms.dll" />
+ <include name="System.Xml.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/v3.5">
+ <include name="Microsoft.Build.Engine.dll" />
+ <include name="Microsoft.Build.Framework.dll" />
+ <include name="System.AddIn.Contract.dll" />
+ <include name="System.AddIn.dll" />
+ <include name="System.Core.dll" />
+ <include name="System.Data.DataSetExtensions.dll" />
+ <include name="System.Data.Linq.dll" />
+ <include name="System.DirectoryServices.AccountManagement.dll" />
+ <include name="System.Management.Instrumentation.dll" />
+ <include name="System.Net.dll" />
+ <include name="System.ServiceModel.Web.dll" />
+ <include name="System.Web.Extensions.Design.dll" />
+ <include name="System.Web.Extensions.dll" />
+ <include name="System.Windows.Presentation.dll" />
+ <include name="System.WorkflowServices.dll" />
+ <include name="System.Xml.Linq.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/v3.0">
+ <include name="System.IdentityModel.dll" />
+ <include name="System.IdentityModel.Selectors.dll" />
+ <include name="System.IO.Log.dll" />
+ <include name="System.Printing.dll" />
+ <include name="System.Runtime.Serialization.dll" />
+ <include name="System.ServiceModel.dll" />
+ <include name="System.Speech.dll" />
+ <include name="System.Workflow.Activities.dll" />
+ <include name="System.Workflow.ComponentModel.dll" />
+ <include name="System.Workflow.Runtime.dll" />
+ <include name="WindowsBase.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 2.0 specific assemblies -->
- <include name="tasks/net/2.0/**/*.dll" />
- <!-- include Microsoft.NET specific task assembly -->
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 2.0 specific assemblies -->
+ <include name="extensions/net/2.0/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
<include name="NAnt.MSNetTasks.dll" />
- <!-- include Microsoft.NET specific test assembly -->
+ <!-- include MS.NET specific test assembly -->
<include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'bin')}" />
+ <directory name="${path::combine(installRoot, 'v3.5')}" />
+ <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -368,47 +467,51 @@ hive="LocalMachine" />
<readregistry
property="sdkInstallRoot"
- key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
hive="LocalMachine"
failonerror="false" />
+ <property name="frameworkDirectoryV35" value="${path::combine(installRoot, 'v3.5')}" />
+ <fail if="${not(directory::exists(frameworkDirectoryV35))}">The Framework directory for .NET 3.5 does not exist.</fail>
+ <property name="referenceV35" value="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/v3.5" />
+ <fail if="${not(directory::exists(referenceV35))}">The Reference Assemblies directory for .NET 3.5 does not exist.</fail>
</project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
+ <attribute name="exename">${path::combine(frameworkDirectoryV35,'csc.exe')}</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportswarnaserrorlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportsplatform">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
<task name="vbc">
- <attribute name="exename">vbc</attribute>
+ <attribute name="exename">${path::combine(frameworkDirectoryV35,'vbc.exe')}</attribute>
<attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportsnostdlib">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportsplatform">true</attribute>
<attribute name="supportswarnaserrorlist">true</attribute>
</task>
<task name="jsc">
- <attribute name="exename">jsc</attribute>
<attribute name="supportsplatform">true</attribute>
</task>
<task name="vjc">
- <attribute name="exename">vjc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">resgen</attribute>
<attribute name="supportsassemblyreferences">true</attribute>
<attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="al">
- <attribute name="exename">al</attribute>
+ <attribute name="exename">${path::combine(sdkInstallRoot, 'bin/al.exe')}</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
@@ -417,35 +520,38 @@ <attribute name="exename">lc</attribute>
<attribute name="supportsassemblyreferences">true</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
</tasks>
</framework>
<framework
- name="net-2.0"
- family="net"
- version="2.0"
- description="Microsoft .NET Framework 2.0 Beta 1"
- runtimeengine=""
- sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
- frameworkdirectory="${path::combine(installRoot, 'v2.0.40607')}"
- frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.40607')}"
- clrversion="2.0.40607"
+ name="netcf-1.0"
+ family="netcf"
+ version="1.0"
+ description="Microsoft .NET Compact Framework 1.0"
+ sdkdirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}"
+ frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
+ frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}"
+ clrversion="1.1.4322"
>
+ <runtime>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v1.1.4322" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include .NET specific assemblies -->
- <include name="tasks/net/*.dll" />
- <!-- include .NET 2.0 specific assemblies -->
- <include name="tasks/net/2.0/**/*.dll" />
- <!-- include Microsoft.NET specific task assembly -->
- <include name="NAnt.MSNetTasks.dll" />
- <!-- include Microsoft.NET specific test assembly -->
- <include name="NAnt.MSNet.Tests.dll" />
+ <!-- this is not a supported runtime framework -->
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}" />
+ <directory name="${path::combine(installRoot, 'v1.1.4322')}" />
+ <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -453,77 +559,59 @@ hive="LocalMachine" />
<readregistry
property="sdkInstallRoot"
- key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
- hive="LocalMachine"
- failonerror="false" />
+ key="SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot"
+ hive="LocalMachine" />
+ <readregistry
+ property="sdkInstallRoot.DesktopFramework"
+ key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
+ hive="LocalMachine" />
+ <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 1.1 SDK is not installed.</fail>
</project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
- <attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportswarnaserrorlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
- <attribute name="supportsplatform">true</attribute>
- <attribute name="supportslangversion">true</attribute>
- </task>
- <task name="vbc">
- <attribute name="exename">vbc</attribute>
- <attribute name="supportsdocgeneration">true</attribute>
- <attribute name="supportsnostdlib">true</attribute>
- <attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
- <attribute name="supportsplatform">true</attribute>
- <attribute name="supportswarnaserrorlist">true</attribute>
- </task>
- <task name="jsc">
- <attribute name="exename">jsc</attribute>
- <attribute name="supportsplatform">true</attribute>
- </task>
- <task name="vjc">
- <attribute name="exename">vjc</attribute>
+ <attribute name="noconfig">true</attribute>
+ <attribute name="nostdlib">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportskeycontainer">true</attribute>
- <attribute name="supportskeyfile">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">resgen</attribute>
- <attribute name="supportsassemblyreferences">true</attribute>
- <attribute name="supportsexternalfilereferences">true</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
+ <attribute name="exename">cfresgen</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
</task>
<task name="license">
<attribute name="exename">lc</attribute>
- <attribute name="supportsassemblyreferences">true</attribute>
- </task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
</task>
</tasks>
</framework>
<framework
- name="netcf-1.0"
- family="netcf"
- version="1.0"
- description="Microsoft .NET Compact Framework 1.0"
- runtimeengine=""
- sdkdirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}"
- frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
- frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}"
- clrversion="1.1.4322"
+ name="netcf-2.0"
+ family="netcf"
+ version="2.0"
+ description="Microsoft .NET Compact Framework 2.0"
+ sdkdirectory="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}"
+ frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
+ frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'WindowsCE')}"
+ clrversion="2.0.0"
>
+ <runtime>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v2.0.50727" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'WindowsCE')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
<!-- this is not a supported runtime framework -->
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -531,58 +619,95 @@ hive="LocalMachine" />
<readregistry
property="sdkInstallRoot"
- key="SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot"
+ key="SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\InstallRoot\"
hive="LocalMachine" />
<readregistry
property="sdkInstallRoot.DesktopFramework"
- key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
+ key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
hive="LocalMachine" />
- <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 1.1 SDK is not installed.</fail>
+ <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 2.0 SDK is not installed.</fail>
</project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="noconfig">true</attribute>
<attribute name="nostdlib">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
+ <attribute name="supportswarnaserrorlist">true</attribute>
+ <attribute name="supportskeycontainer">true</attribute>
+ <attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
+ <attribute name="supportsplatform">true</attribute>
+ <attribute name="supportslangversion">true</attribute>
</task>
<task name="vbc">
- <attribute name="exename">vbc</attribute>
+ <attribute name="nostdlib">true</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
+ <attribute name="supportsnostdlib">true</attribute>
+ <attribute name="supportsnowarnlist">true</attribute>
+ <attribute name="supportskeycontainer">true</attribute>
+ <attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
+ <attribute name="supportsplatform">true</attribute>
+ <attribute name="supportswarnaserrorlist">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">cfresgen</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
+ <attribute name="supportsassemblyreferences">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
</task>
<task name="license">
- <attribute name="exename">${path::combine(sdkInstallRoot.DesktopFramework, 'bin/lc.exe')}</attribute>
- </task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
+ <attribute name="exename">lc</attribute>
+ <attribute name="supportsassemblyreferences">true</attribute>
</task>
</tasks>
</framework>
<framework
- name="netcf-2.0"
- family="netcf"
+ name="silverlight-2.0"
+ family="silverlight"
version="2.0"
- description="Microsoft .NET Compact Framework 2.0"
- runtimeengine=""
- sdkdirectory="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}"
+ description="Microsoft Silverlight 2.0"
+ sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
- frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'WindowsCE')}"
- clrversion="2.0.0"
+ frameworkassemblydirectory="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <modes>
+ <strict>
+ <environment>
+ <variable name="COMPLUS_VERSION" value="v2.0.50727" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight">
+ <include name="agclr.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="mscorlib.dll" />
+ <include name="System.Core.dll" />
+ <include name="System.dll" />
+ <include name="System.Silverlight.dll" />
+ <include name="System.Xml.Core.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- this is not a supported runtime framework -->
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 2.0 specific assemblies -->
+ <include name="extensions/net/2.0/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
+ <include name="NAnt.MSNetTasks.dll" />
+ <!-- include MS.NET specific test assembly -->
+ <include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(sdkInstallRoot, 'bin')}" />
+ <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
+ <directory name="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight" />
+ </tool-paths>
<project>
<readregistry
property="installRoot"
@@ -590,30 +715,45 @@ hive="LocalMachine" />
<readregistry
property="sdkInstallRoot"
- key="SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\InstallRoot\"
- hive="LocalMachine" />
- <readregistry
- property="sdkInstallRoot.DesktopFramework"
key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
- hive="LocalMachine" />
- <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 2.0 SDK is not installed.</fail>
+ hive="LocalMachine"
+ failonerror="false" />
</project>
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="noconfig">true</attribute>
<attribute name="nostdlib">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
+ <attribute name="supportswarnaserrorlist">true</attribute>
+ <attribute name="supportskeycontainer">true</attribute>
+ <attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
+ <attribute name="supportsplatform">true</attribute>
+ <attribute name="supportslangversion">true</attribute>
</task>
<task name="vbc">
- <attribute name="exename">vbc</attribute>
+ <attribute name="nostdlib">true</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportsnostdlib">true</attribute>
+ <attribute name="supportsnowarnlist">true</attribute>
+ <attribute name="supportskeycontainer">true</attribute>
+ <attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
+ <attribute name="supportsplatform">true</attribute>
+ <attribute name="supportswarnaserrorlist">true</attribute>
</task>
- <task name="resgen">
- <attribute name="exename">resgen</attribute>
+ <task name="jsc">
+ <attribute name="supportsplatform">true</attribute>
</task>
- <task name="al">
- <attribute name="exename">al</attribute>
+ <task name="vjc">
+ <attribute name="supportsnowarnlist">true</attribute>
+ <attribute name="supportskeycontainer">true</attribute>
+ <attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
+ </task>
+ <task name="resgen">
+ <attribute name="supportsassemblyreferences">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
@@ -622,12 +762,6 @@ <attribute name="exename">lc</attribute>
<attribute name="supportsassemblyreferences">true</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- </task>
- <task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- </task>
</tasks>
</framework>
<framework
@@ -635,18 +769,51 @@ family="mono"
version="1.0"
description="Mono 1.0 Profile"
- runtimeengine="${runtimeEngine}"
- sdkdirectory="${sdkDirectory}"
- frameworkdirectory="${frameworkDirectory}"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}"
clrversion="1.1.4322"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/1.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/1.1" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${runtimeEngine}" />
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </auto>
+ <strict>
+ <engine program="${runtimeEngine}">
+ <arg value="--runtime=v1.1.4322" />
+ </engine>
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
<!-- include Mono 1.0 specific assemblies -->
- <include name="tasks/mono/1.0/**/*.dll" />
+ <include name="extensions/mono/1.0/**/*.dll" />
+ <!-- include .NET 1.1 specific assemblies -->
+ <include name="extensions/common/1.1/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ </tool-paths>
<project>
<!-- quick and dirty check to see if pkg-config is available (and configured) -->
<property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
@@ -663,13 +830,12 @@ </if>
<!-- determine if we're dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) == 1 and version::get-minor(version::parse(mono.version)) == 0}">
+ <if test="${version::parse(mono.version) < version::parse('1.1')}">
<!--
in Mono 1.0.x, the framework tools are located
in the <install root>\lib directory
-->
- <property name="frameworkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="sdkDirectory" value="${frameworkAssemblyDirectory}" />
+ <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
<property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
<property name="resgen.tool" value="monoresgen" />
<!-- in Mono 1.0.x, only mcs and mbas are located in <install root>\lib\mono\<profile> -->
@@ -687,15 +853,14 @@ </if>
</if>
- <!-- determine if we're NOT dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) != 1 or version::get-minor(version::parse(mono.version)) != 0}">
+ <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
+ <if test="${version::parse(mono.version) >= version::parse('1.1')}">
<!--
in Mono 1.1.x (and higher ?), the framework tools
are located in the <install root>\lib\mono\<profile>
directory
-->
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
+ <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
<property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
<!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
<if test="${not file::exists(runtimeEngine)}">
@@ -706,14 +871,14 @@ <property name="csc.supportsdocgeneration" value="true" />
<property name="mbas.tool" value="mbas" />
</if>
-
+
<target name="configure-from-pkg-config">
<property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
<property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
<property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
- <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc/mono')}/" />
+ <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
</target>
-
+
<target name="configure-from-registry">
<!--
first try using the DefaultCLR in HKLM\Novell\Mono,
@@ -760,43 +925,42 @@ </project>
<properties>
</properties>
- <environment>
- <env name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
- <env name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
- </environment>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
<attribute name="exename">${csc.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">true</attribute>
+ </task>
<task name="vbc">
<attribute name="exename">${mbas.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
<attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
@@ -805,18 +969,54 @@ family="mono"
version="2.0"
description="Mono 2.0 Profile"
- runtimeengine="${runtimeEngine}"
- sdkdirectory="${sdkDirectory}"
- frameworkdirectory="${frameworkDirectory}"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/2.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${runtimeEngine}" />
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </auto>
+ <strict>
+ <engine program="${runtimeEngine}">
+ <arg value="--runtime=v2.0.50727" />
+ </engine>
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
- <!-- include Mono 1.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
+ <!-- include Mono 2.0 specific assemblies -->
+ <include name="extensions/mono/2.0/**/*.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
+ <!-- for compatibility with Mono 1.0.x -->
+ <directory name="${frameworkAssemblyDirectory}" />
+ </tool-paths>
<project>
<!-- quick and dirty check to see if pkg-config is available (and configured) -->
<property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
@@ -832,15 +1032,16 @@ <call target="configure-from-registry" />
</if>
+ <property name="resgen.supportsexternalfilereferences" value="false" />
+
<!-- determine if we're dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) == 1 and version::get-minor(version::parse(mono.version)) == 0}">
+ <if test="${version::parse(mono.version) < version::parse('1.1')}">
<!--
in Mono 1.0.x, the framework tools are located
in the <install root>\lib directory, except for
mbas and mcs
-->
- <property name="frameworkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="sdkDirectory" value="${frameworkAssemblyDirectory}" />
+ <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
<property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
<property name="resgen.tool" value="monoresgen" />
<property name="csc.supportsdocgeneration" value="false" />
@@ -854,73 +1055,35 @@ </if>
</if>
- <!-- determine if we're NOT dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) != 1 or version::get-minor(version::parse(mono.version)) != 0}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
-
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <!--
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- -->
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
+ <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
+ <if test="${version::parse(mono.version) >= version::parse('1.1')}">
+ <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
<property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
<!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
<if test="${not file::exists(runtimeEngine)}">
<property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
</if>
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
<property name="csc.supportsdocgeneration" value="true" />
</if>
-
+ <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
+ <if test="${version::parse(mono.version) >= version::parse('1.2.3.50')}">
+ <property name="resgen.supportsexternalfilereferences" value="true" />
+ </if>
+
<target name="configure-from-pkg-config">
<property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
<property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
<property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
- <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc/mono')}/" />
+ <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
</target>
<target name="configure-from-registry">
- <!--
- first try using the DefaultCLR in HKLM\Novell\Mono,
- this is used by the Mono 1.0.1 installer (and later?)
- -->
<readregistry
property="mono.version"
key="SOFTWARE\Novell\Mono\DefaultCLR"
hive="LocalMachine"
- failonerror="false"
/>
-
- <if test="${property::exists('mono.version')}">
- <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
- </if>
-
- <!--
- if the DefaultCLR registry value does not exist in
- HKLM\Novell\Mono, then try the HKML\Mono registry
- key as this was used for the Mono 1.0 installer
- -->
- <if test="${not property::exists('mono.version')}">
- <readregistry
- property="mono.version"
- key="SOFTWARE\Mono\DefaultCLR"
- hive="LocalMachine"
- />
- <property name="monokey" value="SOFTWARE\Mono\${mono.version}" />
- </if>
+ <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
<readregistry
property="sdkInstallRoot"
@@ -938,64 +1101,104 @@ </project>
<properties>
</properties>
- <environment>
- <env name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
- <env name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
- </environment>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">gmcs</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">strict</attribute>
+ </task>
<task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">vbnc}</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
<attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
- <framework
- name="mono-2.0"
+ <framework
+ name="mono-3.5"
family="mono"
- version="2.0"
- description="Mono 2.0 Profile"
- runtimeengine="${runtimeEngine}"
- sdkdirectory="${sdkDirectory}"
- frameworkdirectory="${frameworkDirectory}"
+ version="3.5"
+ description="Mono 3.5 Profile"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
- clrversion="2.0.50215"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/2.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${runtimeEngine}" />
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </auto>
+ <strict>
+ <engine program="${runtimeEngine}">
+ <arg value="--runtime=v2.0.50727" />
+ </engine>
+ <environment>
+ <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
+ <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
+ </environment>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}">
+ <include name="*.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
- <!-- include Mono 1.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
+ <!-- include Mono 2.0 specific assemblies -->
+ <include name="extensions/mono/2.0/**/*.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
+ </tool-paths>
<project>
<!-- quick and dirty check to see if pkg-config is available (and configured) -->
<property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
@@ -1011,96 +1214,24 @@ <call target="configure-from-registry" />
</if>
- <!-- determine if we're dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) == 1 and version::get-minor(version::parse(mono.version)) == 0}">
- <!--
- in Mono 1.0.x, the framework tools are located
- in the <install root>\lib directory, except for
- mbas and mcs
- -->
- <property name="frameworkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="sdkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
- <property name="resgen.tool" value="monoresgen" />
- <property name="csc.supportsdocgeneration" value="false" />
-
- <!--
- Mono 1.0.1 installer incorrectly adds '\mono' to
- "MonoConfigDir" registry value
- -->
- <if test="${string::ends-with(configDir, 'etc\mono')}">
- <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
- </if>
- </if>
-
- <!-- determine if we're NOT dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) != 1 or version::get-minor(version::parse(mono.version)) != 0}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
+ <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
+ <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <!--
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- -->
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
- <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
- <if test="${not file::exists(runtimeEngine)}">
- <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
- </if>
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
- <property name="csc.supportsdocgeneration" value="true" />
- </if>
-
<target name="configure-from-pkg-config">
<property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
<property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
<property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
- <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc/mono')}/" />
+ <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
</target>
<target name="configure-from-registry">
- <!--
- first try using the DefaultCLR in HKLM\Novell\Mono,
- this is used by the Mono 1.0.1 installer (and later?)
- -->
<readregistry
property="mono.version"
key="SOFTWARE\Novell\Mono\DefaultCLR"
hive="LocalMachine"
- failonerror="false"
/>
-
- <if test="${property::exists('mono.version')}">
- <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
- </if>
-
- <!--
- if the DefaultCLR registry value does not exist in
- HKLM\Novell\Mono, then try the HKML\Mono registry
- key as this was used for the Mono 1.0 installer
- -->
- <if test="${not property::exists('mono.version')}">
- <readregistry
- property="mono.version"
- key="SOFTWARE\Mono\DefaultCLR"
- hive="LocalMachine"
- />
- <property name="monokey" value="SOFTWARE\Mono\${mono.version}" />
- </if>
-
+ <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
+
<readregistry
property="sdkInstallRoot"
key="${monokey}\SdkInstallRoot"
@@ -1117,64 +1248,92 @@ </project>
<properties>
</properties>
- <environment>
- <env name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
- <env name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
- </environment>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">gmcs</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="langversion">linq</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">strict</attribute>
+ </task>
<task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">vbnc</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
- <framework
- name="mono-2.0"
- family="mono"
+ <framework
+ name="moonlight-2.0"
+ family="moonlight"
version="2.0"
- description="Mono 2.0 Profile"
- runtimeengine="${runtimeEngine}"
- sdkdirectory="${sdkDirectory}"
- frameworkdirectory="${frameworkDirectory}"
- frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
- clrversion="2.0.40607"
+ description="Moonlight 2.0"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
+ frameworkassemblydirectory="${toolDirectory}"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <modes>
+ <auto>
+ <engine program="${runtimeEngine}">
+ <arg value="--runtime=moonlight" />
+ <arg value="--security=temporary-smcs-hack" />
+ </engine>
+ </auto>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.1')}">
+ <include name="agclr.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="mscorlib.dll" />
+ <include name="System.Core.dll" />
+ <include name="System.dll" />
+ <include name="System.Silverlight.dll" />
+ <include name="System.Xml.Core.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
- <!-- include Mono 1.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 2.0 specific assemblies -->
+ <include name="extensions/net/2.0/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
+ <include name="NAnt.MSNetTasks.dll" />
+ <!-- include MS.NET specific test assembly -->
+ <include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
+ <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
+ </tool-paths>
<project>
<!-- quick and dirty check to see if pkg-config is available (and configured) -->
<property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
@@ -1190,96 +1349,24 @@ <call target="configure-from-registry" />
</if>
- <!-- determine if we're dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) == 1 and version::get-minor(version::parse(mono.version)) == 0}">
- <!--
- in Mono 1.0.x, the framework tools are located
- in the <install root>\lib directory, except for
- mbas and mcs
- -->
- <property name="frameworkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="sdkDirectory" value="${frameworkAssemblyDirectory}" />
- <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
- <property name="resgen.tool" value="monoresgen" />
- <property name="csc.supportsdocgeneration" value="false" />
-
- <!--
- Mono 1.0.1 installer incorrectly adds '\mono' to
- "MonoConfigDir" registry value
- -->
- <if test="${string::ends-with(configDir, 'etc\mono')}">
- <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
- </if>
- </if>
-
- <!-- determine if we're NOT dealing with a Mono 1.0.x release -->
- <if test="${version::get-major(version::parse(mono.version)) != 1 or version::get-minor(version::parse(mono.version)) != 0}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
+ <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.1')}" />
+ <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <!--
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
- -->
- <property name="frameworkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="sdkDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
- <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
- <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
- <if test="${not file::exists(runtimeEngine)}">
- <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
- </if>
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
- <property name="csc.supportsdocgeneration" value="true" />
- </if>
-
<target name="configure-from-pkg-config">
<property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
<property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
<property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
- <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc/mono')}/" />
+ <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
</target>
<target name="configure-from-registry">
- <!--
- first try using the DefaultCLR in HKLM\Novell\Mono,
- this is used by the Mono 1.0.1 installer (and later?)
- -->
<readregistry
property="mono.version"
key="SOFTWARE\Novell\Mono\DefaultCLR"
hive="LocalMachine"
- failonerror="false"
/>
-
- <if test="${property::exists('mono.version')}">
- <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
- </if>
-
- <!--
- if the DefaultCLR registry value does not exist in
- HKLM\Novell\Mono, then try the HKML\Mono registry
- key as this was used for the Mono 1.0 installer
- -->
- <if test="${not property::exists('mono.version')}">
- <readregistry
- property="mono.version"
- key="SOFTWARE\Mono\DefaultCLR"
- hive="LocalMachine"
- />
- <property name="monokey" value="SOFTWARE\Mono\${mono.version}" />
- </if>
-
+ <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
+
<readregistry
property="sdkInstallRoot"
key="${monokey}\SdkInstallRoot"
@@ -1294,78 +1381,64 @@ hive="LocalMachine" />
</target>
</project>
- <properties>
- </properties>
- <environment>
- <env name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
- <env name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
- </environment>
<tasks>
- <task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
<task name="csc">
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">smcs</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
- <task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
<task name="resgen">
- <attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="supportsassemblyreferences">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
</tasks>
</framework>
<framework
- name="sscli-1.0"
+ name="sscli-1.0"
family="sscli"
version="1.0"
- description="Microsoft Shared Source CLI 1.0"
- runtimeengine="C:\sscli\build\v1.x86fstchk.rotor\clix.exe"
- sdkdirectory="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin"
+ description="Microsoft Shared Source CLI 1.0"
+ sdkdirectory="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin"
frameworkdirectory="C:\sscli\build\v1.x86fstchk.rotor"
frameworkassemblydirectory="C:\sscli\build\v1.x86fstchk.rotor"
clrversion="1.0.3"
>
+ <runtime>
+ <modes>
+ <auto>
+ <engine program="C:\sscli\build\v1.x86fstchk.rotor\clix.exe" />
+ </auto>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="C:\sscli\build\v1.x86fstchk.rotor">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
<!-- this is not a supported runtime framework -->
</task-assemblies>
+ <tool-paths>
+ <directory name="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin" />
+ <directory name="C:\sscli\build\v1.x86fstchk.rotor" />
+ </tool-paths>
<project />
<tasks>
<task name="csc">
- <attribute name="exename">csc</attribute>
<attribute name="supportsnowarnlist">true</attribute>
</task>
<task name="jsc">
- <attribute name="exename">jsc</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
- <task name="resgen">
- <attribute name="exename">resgen</attribute>
- </task>
- <task name="al">
- <attribute name="exename">al</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
@@ -1374,12 +1447,10 @@ <attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="ildasm">
- <attribute name="exename">ildasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
@@ -1391,339 +1462,390 @@ <!-- include NAnt test assemblies -->
<include name="*Tests.dll" />
<!-- include framework-neutral assemblies -->
- <include name="tasks/*.dll" />
+ <include name="extensions/common/neutral/**/*.dll" />
<!-- exclude Microsoft.NET specific task assembly -->
<exclude name="NAnt.MSNetTasks.dll" />
<!-- exclude Microsoft.NET specific test assembly -->
<exclude name="NAnt.MSNet.Tests.dll" />
- <!-- exclude <solution> task assembly for now -->
- <exclude name="NAnt.VSNetTasks.dll" />
- <!-- exclude <solution> test assembly for now -->
- <exclude name="NAnt.VSNet.Tests.dll" />
<!-- exclude win32 specific task assembly -->
<exclude name="NAnt.Win32Tasks.dll" />
<!-- exclude win32 specific test assembly -->
<exclude name="NAnt.Win32.Tests.dll" />
</task-assemblies>
<framework
- name="mono-1.0"
- family="mono"
+ name="mono-1.0"
+ family="mono"
version="1.0"
description="Mono 1.0 Profile"
- runtimeengine="${path::combine(prefix, 'bin/mono')}"
- sdkdirectory="${frameworkdirectory}"
- frameworkdirectory="${frameworkdirectory}"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/1.0')}"
clrversion="1.1.4322"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/1.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/1.1" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${path::combine(prefix, 'bin/mono')}" />
+ </auto>
+ <strict>
+ <engine program="${path::combine(prefix, 'bin/mono')}">
+ <arg value="--runtime=v1.1.4322" />
+ </engine>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/1.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
<!-- include Mono 1.0 specific assemblies -->
- <include name="tasks/mono/1.0/**/*.dll" />
+ <include name="extensions/mono/1.0/**/*.dll" />
+ <!-- include .NET 1.1 specific assemblies -->
+ <include name="extensions/common/1.1/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ </tool-paths>
<project>
<if test="${not pkg-config::exists('mono')}">
<fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
</if>
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
<if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
- <property name="frameworkdirectory" value="${path::combine(prefix, 'bin')}" />
+ <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
<property name="resgen.tool" value="monoresgen" />
<property name="csc.supportsdocgeneration" value="false" />
</if>
<if test="${pkg-config::is-atleast-version('mono', '1.1')}">
- <property name="frameworkdirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
+ <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
<property name="resgen.tool" value="resgen" />
<property name="csc.supportsdocgeneration" value="true" />
</if>
</project>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
<attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">true</attribute>
+ </task>
<task name="vbc">
<attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
<attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
- <framework
- name="mono-2.0"
- family="mono"
+ <framework
+ name="mono-2.0"
+ family="mono"
version="2.0"
description="Mono 2.0 Profile"
- runtimeengine="${path::combine(prefix, 'bin/mono')}"
- sdkdirectory="${frameworkdirectory}"
- frameworkdirectory="${frameworkdirectory}"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/2.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${path::combine(prefix, 'bin/mono')}" />
+ </auto>
+ <strict>
+ <engine program="${path::combine(prefix, 'bin/mono')}">
+ <arg value="--runtime=v2.0.50727" />
+ </engine>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
<!-- include Mono 2.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <include name="extensions/mono/2.0/**/*.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
+ </tool-paths>
<project>
<if test="${not pkg-config::exists('mono')}">
<fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
</if>
+ <property name="resgen.supportsexternalfilereferences" value="false" />
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
<if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
- <property name="frameworkdirectory" value="${path::combine(prefix, 'bin')}" />
+ <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
<property name="resgen.tool" value="monoresgen" />
<property name="csc.supportsdocgeneration" value="false" />
</if>
<if test="${pkg-config::is-atleast-version('mono', '1.1')}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
-
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <property name="frameworkdirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(prefix, 'lib/mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
+ <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.0')}" />
+ <property name="resgen.tool" value="resgen" />
<property name="csc.supportsdocgeneration" value="true" />
</if>
+ <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
+ <if test="${pkg-config::is-atleast-version('mono', '1.2.3.50')}">
+ <property name="resgen.supportsexternalfilereferences" value="true" />
+ </if>
</project>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
- <attribute name="exename">${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">gmcs</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
<attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">strict</attribute>
+ </task>
<task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">vbnc</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
<attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
- <framework
- name="mono-2.0"
- family="mono"
- version="2.0"
- description="Mono 2.0 Profile"
- runtimeengine="${path::combine(prefix, 'bin/mono')}"
- sdkdirectory="${frameworkdirectory}"
- frameworkdirectory="${frameworkdirectory}"
+ <framework
+ name="mono-3.5"
+ family="mono"
+ version="3.5"
+ description="Mono 3.5 Profile"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
- clrversion="2.0.50215"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <probing-paths>
+ <directory name="lib/mono/2.0" />
+ <directory name="lib/mono/neutral" />
+ <directory name="lib/common/2.0" />
+ <directory name="lib/common/neutral" />
+ </probing-paths>
+ <modes>
+ <auto>
+ <engine program="${path::combine(prefix, 'bin/mono')}" />
+ </auto>
+ <strict>
+ <engine program="${path::combine(prefix, 'bin/mono')}">
+ <arg value="--runtime=v2.0.50727" />
+ </engine>
+ </strict>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.5')}">
+ <include name="*.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
+ <include name="*.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
+ <!-- include Mono version-neutral assemblies -->
+ <include name="extensions/mono/neutral/**/*.dll" />
<!-- include Mono 2.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <include name="extensions/mono/2.0/**/*.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
+ <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
+ </tool-paths>
<project>
<if test="${not pkg-config::exists('mono')}">
<fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
</if>
+ <property name="resgen.supportsexternalfilereferences" value="false" />
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
- <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
- <property name="frameworkdirectory" value="${path::combine(prefix, 'bin')}" />
- <property name="resgen.tool" value="monoresgen" />
- <property name="csc.supportsdocgeneration" value="false" />
- </if>
- <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
-
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <property name="frameworkdirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(prefix, 'lib/mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
- <property name="csc.supportsdocgeneration" value="true" />
- </if>
+ <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/3.5')}" />
</project>
<tasks>
<task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="csc">
- <attribute name="exename">${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">gmcs</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="langversion">linq</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
+ <task name="jsc">
+ <attribute name="exename">mjs</attribute>
+ <attribute name="managed">strict</attribute>
+ </task>
<task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">vbnc</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="resgen">
- <attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
<task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="managed">true</attribute>
</task>
</tasks>
</framework>
- <framework
- name="mono-2.0"
- family="mono"
+ <framework
+ name="moonlight-2.0"
+ family="moonlight"
version="2.0"
- description="Mono 2.0 Profile"
- runtimeengine="${path::combine(prefix, 'bin/mono')}"
- sdkdirectory="${frameworkdirectory}"
- frameworkdirectory="${frameworkdirectory}"
- frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
- clrversion="2.0.40607"
+ description="Moonlight 2.0"
+ sdkdirectory="${toolDirectory}"
+ frameworkdirectory="${toolDirectory}"
+ frameworkassemblydirectory="${toolDirectory}"
+ clrversion="2.0.50727"
>
+ <runtime>
+ <modes>
+ <auto>
+ <engine program="${path::combine(prefix, 'bin/mono')}">
+ <arg value="--runtime=moonlight" />
+ <arg value="--security=temporary-smcs-hack" />
+ </engine>
+ </auto>
+ </modes>
+ </runtime>
+ <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.1')}">
+ <include name="agclr.dll" />
+ <include name="Microsoft.VisualBasic.dll" />
+ <include name="mscorlib.dll" />
+ <include name="System.Core.dll" />
+ <include name="System.dll" />
+ <include name="System.Silverlight.dll" />
+ <include name="System.Xml.Core.dll" />
+ </reference-assemblies>
<task-assemblies>
- <!-- include Mono specific assemblies -->
- <include name="tasks/mono/*.dll" />
- <!-- include Mono 2.0 specific assemblies -->
- <include name="tasks/mono/2.0/**/*.dll" />
+ <!-- include MS.NET version-neutral assemblies -->
+ <include name="extensions/net/neutral/**/*.dll" />
+ <!-- include MS.NET 2.0 specific assemblies -->
+ <include name="extensions/net/2.0/**/*.dll" />
+ <!-- include MS.NET specific task assembly -->
+ <include name="NAnt.MSNetTasks.dll" />
+ <!-- include MS.NET specific test assembly -->
+ <include name="NAnt.MSNet.Tests.dll" />
+ <!-- include .NET 2.0 specific assemblies -->
+ <include name="extensions/common/2.0/**/*.dll" />
</task-assemblies>
+ <tool-paths>
+ <directory name="${toolDirectory}" />
+ <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
+ <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
+ </tool-paths>
<project>
<if test="${not pkg-config::exists('mono')}">
<fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
</if>
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
- <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
- <property name="frameworkdirectory" value="${path::combine(prefix, 'bin')}" />
- <property name="resgen.tool" value="monoresgen" />
- <property name="csc.supportsdocgeneration" value="false" />
- </if>
- <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
- <!--
- in Mono 1.1.x (and higher ?), all the framework
- tools are located in the <install root>\lib\mono\<profile>
- directory
-
- however, for now only (g)mcs and wsdl2 are available
- for the 2.0 profile, for the other tools we should
- use the 1.0 profile version
- -->
- <property name="frameworkdirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
- <!-- in Mono 1.2 (and higher), there's a 2.0 profile version of resgen -->
- <property name="resgen.tool" value="${path::combine(prefix, 'lib/mono/2.0/resgen.exe')}" />
- <if test="${not file::exists(resgen.tool)}">
- <!-- if the 2.0 profile version does not exist, then fallback to the 1.0 profile version -->
- <property name="resgen.tool" value="resgen" />
- </if>
- <property name="csc.supportsdocgeneration" value="true" />
- </if>
+ <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.1')}" />
</project>
<tasks>
- <task name="al">
- <attribute name="exename">al</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
<task name="csc">
- <attribute name="exename">${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="exename">smcs</attribute>
+ <attribute name="managed">true</attribute>
<attribute name="supportspackagereferences">true</attribute>
<attribute name="supportsnowarnlist">true</attribute>
- <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
+ <attribute name="supportsdocgeneration">true</attribute>
<attribute name="supportskeycontainer">true</attribute>
<attribute name="supportskeyfile">true</attribute>
+ <attribute name="supportsdelaysign">true</attribute>
<attribute name="supportslangversion">true</attribute>
</task>
- <task name="vbc">
- <!-- there is no mbas for the 2.0 profile yet -->
- <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
<task name="resgen">
- <attribute name="exename">${resgen.tool}</attribute>
- <attribute name="useruntimeengine">true</attribute>
+ <attribute name="supportsassemblyreferences">true</attribute>
+ <attribute name="supportsexternalfilereferences">true</attribute>
</task>
<task name="delay-sign">
<attribute name="exename">sn</attribute>
- <attribute name="useruntimeengine">true</attribute>
</task>
<task name="license">
<attribute name="hascommandlinecompiler">false</attribute>
</task>
- <task name="ilasm">
- <attribute name="exename">ilasm</attribute>
- <attribute name="useruntimeengine">true</attribute>
- </task>
</tasks>
</framework>
</platform>
@@ -1788,10 +1910,6 @@ <startup>
<!-- .NET Framework 2.0 -->
<supportedRuntime version="v2.0.50727" />
- <!-- .NET Framework 2.0 Beta 2 -->
- <supportedRuntime version="v2.0.50215" />
- <!-- .NET Framework 2.0 Beta 1 -->
- <supportedRuntime version="v2.0.40607" />
<!-- .NET Framework 1.1 -->
<supportedRuntime version="v1.1.4322" />
<!-- .NET Framework 1.0 -->
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.xml index fd75a54..286dda1 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.xml +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NAnt.xml @@ -17,6 +17,36 @@ <param name="args">Command Line arguments</param>
<returns>The result of the real execution</returns>
</member>
+ <member name="M:NAnt.Console.ConsoleStub.ConstructPrivateBinPath(NAnt.Console.ConsoleStub.Framework,System.String)">
+ <summary>
+ Constructs the privatebinpath.
+ </summary>
+ <remarks>
+ <para>
+ For the common version dir, we do not use the framework version
+ as defined in the NAnt configuration file but the CLR version
+ since the assemblies in that directory are not specific to a
+ certain family and the framwork version might differ between
+ families (eg. mono 1.0 == .NET 1.1).
+ </para>
+ </remarks>
+ <param name="runtimeFramework">The runtime framework.</param>
+ <param name="baseDir">The base directory of the domain.</param>
+ <returns>
+ The privatebinpath.
+ </returns>
+ </member>
+ <member name="M:NAnt.Console.ConsoleStub.GetRelativePath(System.String,System.String)">
+ <summary>
+ Given an absolute directory and an absolute file name, returns a
+ relative file name.
+ </summary>
+ <param name="basePath">An absolute directory.</param>
+ <param name="absolutePath">An absolute file name.</param>
+ <returns>
+ A relative file name for the given absolute file name.
+ </returns>
+ </member>
<member name="T:NAnt.Console.ConsoleStub.HelperArguments">
<summary>
Helper class for invoking the application entry point in NAnt.Core
diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NDoc.Documenter.NAnt.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NDoc.Documenter.NAnt.dll Binary files differindex 06dda7e..13cfe41 100644 --- a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NDoc.Documenter.NAnt.dll +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/NDoc.Documenter.NAnt.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/Vitreo.Nant.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/Vitreo.Nant.dll Binary files differnew file mode 100644 index 0000000..df6d217 --- /dev/null +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/Vitreo.Nant.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.dll b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.dll Binary files differnew file mode 100644 index 0000000..2d5b8ab --- /dev/null +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.dll diff --git a/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.xml b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.xml new file mode 100644 index 0000000..21354a7 --- /dev/null +++ b/Sait/Cmpp299/Assignment1/trunk/build/tools/nant/bin/extensions/common/2.0/NAnt.MSBuild.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>NAnt.MSBuild</name>
+ </assembly>
+ <members>
+ <member name="T:NAnt.MSBuild.Functions.MSBuildFunctions">
+ <summary>
+ Functions to return information for MSBuild system.
+ </summary>
+ </member>
+ <member name="M:NAnt.MSBuild.Functions.MSBuildFunctions.#ctor(NAnt.Core.Project,NAnt.Core.PropertyDictionary)">
+ <exclude/>
+ </member>
+ <member name="M:NAnt.MSBuild.Functions.MSBuildFunctions.IsMsbuildProject(System.String)">
+ <summary>
+ Test whether project is VS2005 project and could be built using <msbuild>
+ </summary>
+ <param name="project">The name or path of the project file (csproj, vbproj, ...).</param>
+ <returns>
+ True, if it is msbuild project, False otherwise.
+ </returns>
+ </member>
+ <member name="M:NAnt.MSBuild.NAntLogger.Initialize(Microsoft.Build.Framework.IEventSource)">
+ <summary>
+ Initialize is guaranteed to be called by MSBuild at the start of the build
+ before any events are raised.
+ </summary>
+ </member>
+ <member name="T:NAnt.VSNet.WhidbeySolution">
+ <summary>
+ Analyses Microsoft Visual Studio .NET 2005 (Whidbey) solution files.
+ !! FOR NOW IT IS PLAIN COPY OF EVERETT (2003) !!
+ </summary>
+ </member>
+ </members>
+</doc>
diff --git a/Sait/Cmpp299/Assignment1/trunk/src/app/Marina/Presentation/PayloadKey.cs b/Sait/Cmpp299/Assignment1/trunk/src/app/Marina/Presentation/PayloadKey.cs index b84fbf7..d4b31fb 100644 --- a/Sait/Cmpp299/Assignment1/trunk/src/app/Marina/Presentation/PayloadKey.cs +++ b/Sait/Cmpp299/Assignment1/trunk/src/app/Marina/Presentation/PayloadKey.cs @@ -1,45 +1,48 @@ using System;
using System.Collections.Specialized;
-namespace Marina.Presentation {
- public class PayloadKey< T > : IEquatable< PayloadKey< T > > {
- private readonly string _key;
-
- public PayloadKey( string key ) {
- _key = key;
- }
-
- public T ParseFrom( NameValueCollection payload ) {
- EnsureKeyIsInPayload( payload );
- return ( T )Convert.ChangeType( payload[ _key ], typeof( T ) );
- }
-
- private void EnsureKeyIsInPayload( NameValueCollection payload ) {
- if ( null == payload[ _key ] ) {
- throw new PayloadKeyNotFoundException( _key );
- }
- }
-
- public static implicit operator string( PayloadKey< T > item ) {
- return item._key;
- }
-
- public bool Equals( PayloadKey< T > payloadKey ) {
- if ( payloadKey == null ) {
- return false;
- }
- return Equals( _key, payloadKey._key );
- }
-
- public override bool Equals( object obj ) {
- if ( ReferenceEquals( this, obj ) ) {
- return true;
- }
- return Equals( obj as PayloadKey< T > );
- }
-
- public override int GetHashCode() {
- return _key.GetHashCode( );
- }
- }
+namespace Marina.Presentation
+{
+ public class PayloadKey< T > : IEquatable< PayloadKey< T > >
+ {
+ private readonly string _key;
+
+ public PayloadKey( string key )
+ {
+ _key = key;
+ }
+
+ public T ParseFrom( NameValueCollection payload )
+ {
+ EnsureKeyIsInPayload( payload );
+ return ( T )Convert.ChangeType( payload[ _key ], typeof( T ) );
+ }
+
+ private void EnsureKeyIsInPayload( NameValueCollection payload )
+ {
+ if( null == payload[ _key ] ) {
+ throw new PayloadKeyNotFoundException( _key );
+ }
+ }
+
+ public static implicit operator string( PayloadKey< T > item )
+ {
+ return item._key;
+ }
+
+ public bool Equals( PayloadKey< T > payloadKey )
+ {
+ return payloadKey != null && Equals( _key, payloadKey._key );
+ }
+
+ public override bool Equals( object obj )
+ {
+ return ReferenceEquals( this, obj ) || Equals( obj as PayloadKey< T > );
+ }
+
+ public override int GetHashCode( )
+ {
+ return _key.GetHashCode( );
+ }
+ }
}
\ No newline at end of file diff --git a/Sait/Cmpp299/Assignment1/trunk/src/test/Marina.Test/Utility/RunInRealContainerAttribute.cs b/Sait/Cmpp299/Assignment1/trunk/src/test/Marina.Test/Utility/RunInRealContainerAttribute.cs index 5633d4e..d161100 100644 --- a/Sait/Cmpp299/Assignment1/trunk/src/test/Marina.Test/Utility/RunInRealContainerAttribute.cs +++ b/Sait/Cmpp299/Assignment1/trunk/src/test/Marina.Test/Utility/RunInRealContainerAttribute.cs @@ -1,10 +1,14 @@ +using System;
using MbUnit.Core.Framework;
using MbUnit.Core.Invokers;
-namespace Marina.Test.Utility {
- public class RunInRealContainerAttribute : DecoratorPatternAttribute {
- public override IRunInvoker GetInvoker( IRunInvoker wrapper ) {
- return new RunInRealContainerRunInvoker( wrapper );
- }
- }
+namespace Marina.Test.Utility
+{
+ public class RunInRealContainerAttribute : DecoratorPatternAttribute
+ {
+ public override IRunInvoker GetInvoker( IRunInvoker wrapper )
+ {
+ return new RunInRealContainerRunInvoker( wrapper );
+ }
+ }
}
\ No newline at end of file |
