Specifies a key file, which contains a key or public/private key pair for strong naming an assembly.
>>-.----.--ILKEYFILE--"keyfile"------>< +-NO-+
keyfile | The name of the key file |
Default: | NOKEYFILE |
IDE equivalent: | Click Project > Properties > Common Properties > General > Assembly Strong Name Attributes > Key File |
Assembly manifest attribute: | System.Reflection.AssemblyKeyFile |
The Compiler sets the public key in the assembly manifest and signs the final assembly with the private key. See the Visual Studio Help topic for more information.
To generate the key file, use the .NET sn.exe utility. See the Visual Studio Help topic
You can alternatively specify the keys using the ILKEYNAME directive. You can also partially sign the assembly using the ILDELAYSIGN directive.