NAnt SDK Documentation - v0.92

LicenseTask Class

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, _  ProgramLocation(LocationType:=LocationType.FrameworkSdkDir), _  TaskName(Name:="license")>
Public Class LicenseTask
    Inherits ExternalProgramBase
[C#]
[Serializable]
[Serializable]
[ProgramLocation(LocationType=LocationType.FrameworkSdkDir)]
[TaskName(Name="license")]
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