VCLinkerTool.DelaySign Property

Definition

Gets or sets a value indicating whether space should be reserved in the assembly file of a COM wrapper for the later addition of the digital signature with a strong name. This property is meaningful only in Visual C# projects.

public:
 property bool DelaySign { bool get(); void set(bool value); };
public:
 property bool DelaySign { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(112)]
public bool DelaySign { [System.Runtime.InteropServices.DispId(112)] get; [System.Runtime.InteropServices.DispId(112)] set; }
[<System.Runtime.InteropServices.DispId(112)>]
[<get: System.Runtime.InteropServices.DispId(112)>]
[<set: System.Runtime.InteropServices.DispId(112)>]
member this.DelaySign : bool with get, set
Public Property DelaySign As Boolean

Property Value

true if space should be reserved in the assembly file of a COM wrapper for the later addition of the digital signature with a strong name; otherwise, false.

Attributes

Remarks

A strong name consists of the assembly's identity — its simple text name, version number, and culture information (if provided) — plus a public key and a digital signature. The public/private key pair, which is used to create the digital signature, may be stored in a file or in a container in the Cryptographic Service Provider. The Sn.exe (Strong Name Tool) creates the file or container.

A cryptographic service provider is an independent software module that performs cryptography algorithms for authentication, encoding, and encryption. For more information, see see .

Delayed or partial signing is the process of reserving space in the assembly file for the digital signature at build time, but the actual signing is deferred until a later stage, typically right before the assembly is shipped. For more information, see Delay Signing an Assembly and How to: Sign an Assembly with a Strong Name.

The project system automatically generates COM wrapper assemblies if your project contains references to COM components. For more information, see COM Interop Wrapper Error.

For information about signing the main assembly, see NOT IN BUILD: Global Attributes (C# Programming Guide) (Visual C#) and NOT IN BUILD: Global Attributes in Visual Basic (Visual Basic).

This property is meaningful only in Visual C# projects and is not settable in the project's property pages.

Applies to