x ILKEYFILE

Specifies a key file, which contains a key or public/private key pair for strong naming an assembly.

Syntax:
>>-.----.--ILKEYFILE--"keyfile"------><
   +-NO-+
Parameters:
keyfile The name of the key file
Properties:
Default: NOKEYFILE
IDE equivalent: Click Project > Properties > Common Properties > General > Assembly Strong Name Attributes > Key File
Assembly manifest attribute: System.Reflection.AssemblyKeyFile
Comments:

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.

See Also: