added build folder added build script for release build of ANX.Framework and all RenderSystems fixed some issues in projects regarding compiler directives removed StockShaderCodeGenerator from Pre-Build-Events. Build the Stock shaders using NAnt target build_stock_shaders. started Wiki documentation for custom build switches (e.g. extended mode)
159 lines
7.9 KiB
HTML
159 lines
7.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<!-- Documenting T:NAnt.DotNet.Tasks.AssemblyInfoTask-->
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-ca" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
<title><asminfo> Task</title>
|
|
</head>
|
|
<body>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
|
|
<tr>
|
|
<td class="NavBar-Cell">
|
|
<a href="http://nant.sourceforge.net">
|
|
<b>NAnt</b>
|
|
</a>
|
|
<img alt="->" src="../images/arrow.gif" />
|
|
<a href="../index.html">Help</a>
|
|
<img alt="->" src="../images/arrow.gif" />
|
|
<a href="../tasks/index.html">Task Reference</a>
|
|
<img alt="->" src="../images/arrow.gif" /> <asminfo></td>
|
|
<td class="NavBar-Cell" align="right">
|
|
v0.91</td>
|
|
</tr>
|
|
</table>
|
|
<h1><asminfo></h1>
|
|
<p> Generates an AssemblyInfo file using the attributes given. </p>
|
|
<h3>Parameters</h3>
|
|
<div class="table">
|
|
<table>
|
|
<tr>
|
|
<th>Attribute</th>
|
|
<th style="text-align: center;">Type</th>
|
|
<th>Description</th>
|
|
<th style="text-align: center;">Required</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" class="required">language</td>
|
|
<td style="text-align: center;">
|
|
<a href="../enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html">CodeLanguage</a>
|
|
</td>
|
|
<td> The code language in which the AssemblyInfo file should be generated. </td>
|
|
<td style="text-align: center;">True</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" class="required">output</td>
|
|
<td style="text-align: center;">file</td>
|
|
<td> Name of the AssemblyInfo file to generate. </td>
|
|
<td style="text-align: center;">True</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">failonerror</td>
|
|
<td style="text-align: center;">bool</td>
|
|
<td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
|
|
<td style="text-align: center;">False</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">if</td>
|
|
<td style="text-align: center;">bool</td>
|
|
<td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
|
|
<td style="text-align: center;">False</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">unless</td>
|
|
<td style="text-align: center;">bool</td>
|
|
<td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
|
|
<td style="text-align: center;">False</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">verbose</td>
|
|
<td style="text-align: center;">bool</td>
|
|
<td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
|
|
<td style="text-align: center;">False</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<h3>Nested Elements:</h3>
|
|
<!--Collection-->
|
|
<h4>
|
|
<a id="attributes">
|
|
</a>
|
|
<attributes>
|
|
</h4>
|
|
<div class="nested-element"> The assembly-level attributes to generate. <h5><attribute></h5><div class="nested-element"><p> Represents an assembly-level attribute. </p><h3>Parameters</h3><div class="table"><table><tr><th>Attribute</th><th style="text-align: center;">Type</th><th>Description</th><th style="text-align: center;">Required</th></tr><tr><td valign="top" class="required">type</td><td style="text-align: center;">string</td><td> Typename of the assembly-level attribute. </td><td style="text-align: center;">True</td></tr><tr><td valign="top">asis</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the value of the attribute will be set as is, without actually looking for a matching constructor or named properties. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> Indicates if the attribute should be generated. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> Indicates if the attribute should be not generated. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">value</td><td style="text-align: center;">string</td><td> Value of the attribute. </td><td style="text-align: center;">False</td></tr></table></div></div><h5></attribute></h5></div>
|
|
<h4></attributes></h4>
|
|
<!--Element-->
|
|
<h4>
|
|
<a id="imports">
|
|
</a>
|
|
<<a href="../types/namespaceimports.html">imports</a>>
|
|
</h4>
|
|
<div class="nested-element"> The namespaces to import. <p /></div>
|
|
<h4>
|
|
<a id="imports">
|
|
</a>
|
|
</<a href="../types/namespaceimports.html">imports</a>>
|
|
</h4>
|
|
<!--Element-->
|
|
<h4>
|
|
<a id="references">
|
|
</a>
|
|
<<a href="../types/assemblyfileset.html">references</a>>
|
|
</h4>
|
|
<div class="nested-element"> Assembly files used to locate the types of the specified attributes. <p /></div>
|
|
<h4>
|
|
<a id="references">
|
|
</a>
|
|
</<a href="../types/assemblyfileset.html">references</a>>
|
|
</h4>
|
|
<h3>Examples</h3>
|
|
<ul class="examples">
|
|
<li>
|
|
<p> Create a C# AssemblyInfo file containing the specified assembly-level attributes. </p>
|
|
<pre class="code">
|
|
<asminfo output="AssemblyInfo.cs" language="CSharp">
|
|
<imports>
|
|
<import namespace="System" />
|
|
<import namespace="System.Reflection" />
|
|
<import namespace="System.EnterpriseServices" />
|
|
<import namespace="System.Runtime.InteropServices" />
|
|
</imports>
|
|
<attributes>
|
|
<attribute type="ComVisibleAttribute" value="false" />
|
|
<attribute type="CLSCompliantAttribute" value="true" />
|
|
<attribute type="AssemblyVersionAttribute" value="1.0.0.0" />
|
|
<attribute type="AssemblyTitleAttribute" value="My fun assembly" />
|
|
<attribute type="AssemblyDescriptionAttribute" value="More fun than a barrel of monkeys" />
|
|
<attribute type="AssemblyCopyrightAttribute" value="Copyright (c) 2002, Monkeyboy, Inc." />
|
|
<attribute type="ApplicationNameAttribute" value="FunAssembly" />
|
|
</attributes>
|
|
<references>
|
|
<include name="System.EnterpriseServices.dll" />
|
|
</references>
|
|
</asminfo>
|
|
</pre>
|
|
</li>
|
|
<li>
|
|
<p> Create a C# AssemblyInfo file containing an attribute with multiple named properties by setting the <code>asis</code> attribute on the <a href="../elements/NAnt.DotNet.Types.AssemblyAttribute.html">AssemblyAttribute</a> element to <b>true</b>. </p>
|
|
<pre class="code">
|
|
<asminfo output="AssemblyInfo.cs" language="CSharp">
|
|
<imports>
|
|
<import namespace="log4net.Config" />
|
|
</imports>
|
|
<attributes>
|
|
<attribute type="DOMConfiguratorAttribute" value="ConfigFile=&quot;config.log4net&quot;,Watch=true" asis="true" />
|
|
</attributes>
|
|
<references>
|
|
<include name="log4net.dll" />
|
|
</references>
|
|
</asminfo>
|
|
</pre>
|
|
</li>
|
|
</ul>
|
|
<h3>Requirements</h3>
|
|
<div style="margin-left: 20px;">
|
|
<b>Assembly:</b> NAnt.DotNetTasks (0.91.4312.0)
|
|
</div>
|
|
</body>
|
|
</html> |