/DELAYSIGN (Partially Sign an Assembly)
Specifies that the assembly should not be partially signed.
Use /DELAYSIGN if you only want to place the public key in the assembly. The default is /DELAYSIGN:NO.
When you request a fully signed assembly, the compiler hashes the file that contains the manifest (assembly metadata) and signs that hash with the private key. The resulting digital signature is stored in the file that contains the manifest. When an assembly is delay signed, the linker does not compute and store the signature, but reserves space in the file so the signature can be added later.
For example, using /DELAYSIGN allows a tester to put the assembly in the global cache. After testing, you can fully sign the assembly by placing the private key in the assembly.
See Strong Name Assemblies (Assembly Signing) (C++/CLI) and Delay Signing an Assembly for more information on signing an assembly.
Other linker options that affect assembly generation are:
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Click the Linker folder.
Click the Command Line property page.
Type the option into the Additional Options box.
To set this linker option programmatically
- See AdditionalOptions.