diff --git a/docs/manual/OptionalTasks/dotnet.html b/docs/manual/OptionalTasks/dotnet.html index 6fc99fc87..2122d2eb6 100644 --- a/docs/manual/OptionalTasks/dotnet.html +++ b/docs/manual/OptionalTasks/dotnet.html @@ -221,6 +221,200 @@ Example />
+

<VBC>

+ +This task compiles VisualBasic.NET source into executables or modules. + +This task compiles VisualBasic.NET source into executables or modules. +The task will only work on win2K/XP or other platforms with vbc.exe +or an equivalent. VBC must be on the execute path. + +

+All parameters are optional: <vbc/> should suffice to produce a debug +build of all *.vb files. References to external files do require explicit +enumeration, so are one of the first attributes to consider adding.

+ +

+ +The task is a directory based task, so attributes like +includes="**/*.vb" and +excludes="broken.vb" can be used to control +the files pulled in. By default, +all *.vb files from the project folder down are included in the command. +When this happens the destFile -if not specified- +is taken as the first file in the list, which may be somewhat hard to control. +Specifying the output file with 'destfile' seems prudent.

+

+Also, dependency checking only works if destfile is set. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionExample Values
additionalModulesSemicolon separated list of modules to refer to
defaultexcludesindicates whether default excludes should be used or not + "true"(default) or "false"
definitionsdefined constants "RELEASE;BETA1"
debuginclude debug information"true"(default)
destFilename of exe/library to create"example.exe"
excludescomma- or space-separated list of patterns of files that must be + excluded. No files (except default excludes) are excluded when omitted.
excludesfilethe name of a file. Each line of this file is + taken to be an exclude pattern
extraOptionsAny extra options which aren't explicitly + supported by the VisualBasicCompile task "/warnaserror+ /baseaddress:0x12840000"
failOnErrorShould a failed compile halt the build?"true"(default) or "false"
importscomma-separated list of global imports for namespaces + in referenced metadata files.
includescomma- or space-separated list of patterns of files that must be + included. All files are included when omitted.
includesfilethe name of a file. Each line of this file is + taken to be an include pattern
mainClassname of main class for executables"com.example.project.entrypoint"
optimizeoptimisation flag"true" or "false"(default)
optionCompareText or binary string comparisons."text" or "binary"(default)
optionExplicitRequire explicit declaration of variables?"true" or "false"(default)
optionStrictEnforce strict language semantics?"true" or "false"(default)
referencesSemicolon separated list of dlls to refer to"mylib.dll;nunit.dll"
referenceFiles Ant Path descriptioon of references to include. + Wildcards should work.
removeIntChecksRemove integer checks?"true" or "false"(default)
rootNamespaceRoot namespace for all type declarations.com.example
srcDirsource directory (default = project directory)"."
targetTypeType of target"exe", "module", "winexe" or "library"
utf8outputrequire all compiler output to be in utf-8 format"true" or "false"(default)
warnLevellevel of warning currently between 1 and 4 with 4 + being the strictest. "1"-"4"
win32Iconfilename of icon to include"res/myicon.ico"
win32resfilename of a win32 resource (.RES)file to include + This is not a .NET resource, but it what windows is used to."res/myapp.res"
+

+Example +

+
<vbc
+        optimize="true"
+        debug="false"
+        warnLevel="4"
+        targetType="exe"
+        definitions="RELEASE"
+        excludes="src/unicode_class.vb"
+        mainClass = "MainApp"
+        destFile="NetApp.exe"
+        optionExplicit="true"
+        optionCompare="text"
+        />   
+
+

<ilasm>

Task to assemble .net 'Intermediate Language' files. The task will only work on windows until other platforms support csc.exe or