NAnt SDK Documentation - v0.92 |

# DelaySignTask Class

Signs delay-signed .NET Assemblies, or re-signs existing assemblies.

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

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

[Visual Basic]
<ProgramLocation(LocationType:=LocationType.FrameworkSdkDir), _ TaskName(Name:="delay-sign")>
Public Class DelaySignTask
Inherits ExternalProgramBase
[C#]
[ProgramLocation(LocationType=LocationType.FrameworkSdkDir)]
[TaskName(Name="delay-sign")]
public class DelaySignTask : 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

The delay-signing mechanism takes a fileset (named targets) and either a KeyFile attribute for a file containing the public and private keys, or KeyContainer to name a key container.

#### Example

Sign partially-signed `foo.dll` with `bar.snk`.

    <delay-sign keyfile="bar.snk" verbose="false">
        <targets>
            <include name="foo.dll" />
        </targets>
    </delay-sign>

#### Requirements

Namespace: NAnt.DotNet.Tasks

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

#### See Also

DelaySignTask Members | NAnt.DotNet.Tasks Namespace