Compiles Visual J# programs using vjc, Microsoft's J# compiler.
For a list of all members of this type, see VjcTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.DotNet.Tasks.CompilerBase
NAnt.DotNet.Tasks.VjcTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Note In order to have VjcTask generate manifest resource names that match those generated by Microsoft Visual Studio.NET, the value of the Prefix attribute of the <ResourcesList> element should match the "Default Package" of the J#.NET project, and the value of the DynamicPrefix attribute should be set to "true".
Compile a "HelloWorld" application, including embedded resources.
<vjc target="exe" output="helloworld.exe" debug="true"> <sources> <include name="helloworld.jsl" /> </sources> <resources prefix="HelloWorld" dynamicprefix="true"> <include name="**/*.resx" /> </resources> <references> <include name="System.dll" /> <include name="System.Data.dll" /> <include name="System.Drawing.dll" /> <include name="System.Windows.Forms.dll" /> <include name="System.Xml.dll" /> </references> </vjc>
Namespace: NAnt.DotNet.Tasks
Assembly: NAnt.DotNetTasks (in NAnt.DotNetTasks.dll)
VjcTask Members | NAnt.DotNet.Tasks Namespace