Udostępnij za pośrednictwem


VCLinkerTool.DelaySign Property

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.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Property DelaySign As Boolean
    Get
    Set
bool DelaySign { get; set; }
property bool DelaySign {
    bool get ();
    void set (bool value);
}
abstract DelaySign : bool with get, set
function get DelaySign () : boolean
function set DelaySign (value : boolean)

Property Value

Type: System.Boolean
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.

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 Walkthrough: Creating a Cryptographic Application.

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 Global Attributes (Visual C#) and Global Attributes (Visual Basic).

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

.NET Framework Security

See Also

Reference

VCLinkerTool Interface

Microsoft.VisualStudio.VCProjectEngine Namespace