NAnt SDK Documentation - v0.85-nightly-2005-11-09

LicenseTask Class

[This is preliminary documentation and subject to change.]

Generates a .licence file from a .licx file.

For a list of all members of this type, see LicenseTask Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.Task
         NAnt.Core.Tasks.ExternalProgramBase
            NAnt.DotNet.Tasks.LicenseTask

[Visual Basic]
<Serializable, _  Serializable, _  TaskName(Name:="license"), _  ProgramLocation(LocationType:=LocationType.FrameworkSdkDir)>
Public Class LicenseTask
    Inherits ExternalProgramBase
[C#]
[Serializable]
[Serializable]
[TaskName(Name="license")]
[ProgramLocation(LocationType=LocationType.FrameworkSdkDir)]
public class LicenseTask : ExternalProgramBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

If no output file is specified, the default filename is the name of the target file with the extension .licenses appended.

Example

Generate the file component.exe.licenses file from component.licx.

                
            <license input="component.licx" licensetarget="component.exe" />
                
              

Requirements

Namespace: NAnt.DotNet.Tasks

Assembly: NAnt.DotNetTasks (in NAnt.DotNetTasks.dll)

See Also

LicenseTask Members | NAnt.DotNet.Tasks Namespace