Browse Source

Fix docs of <csc>'s includeDefaultReference attribute, fix its default value to match the documentation

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275296 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
28a0aa1adc
2 changed files with 4 additions and 5 deletions
  1. +2
    -3
      docs/manual/OptionalTasks/dotnet.html
  2. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java

+ 2
- 3
docs/manual/OptionalTasks/dotnet.html View File

@@ -117,9 +117,8 @@ Also, dependency checking only works if destfile is set.
</tr>
<tr>
<td valign="top">includeDefaultReferences</td>
<td valign="top">Flag which when true automatically includes
the common assemblies in dotnet, and tells the compiler to link in
mscore.dll
<td valign="top">Controls csc's /nostdlib argument,
&quot;true&quot;(default) implies /nostdlib-.
</td>
<td valign="top">&quot;true&quot;(default) or &quot;false&quot;</td>
</tr>


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java View File

@@ -115,7 +115,7 @@ public abstract class DotnetCompile
/**
* flag to enable automatic reference inclusion
*/
private boolean includeDefaultReferences;
private boolean includeDefaultReferences = true;

/**
* icon for incorporation into apps
@@ -313,7 +313,7 @@ public abstract class DotnetCompile
* in dotnet, and tells the compiler to link in mscore.dll.
*
* set the automatic reference inclusion flag on or off this flag controls
* the string of references and the /nostdlib option in CSC
* the /nostdlib option in CSC
*
*@param f on/off flag
*/


Loading…
Cancel
Save