/assembly.keyfile:"file"
-or-
/a.keyfile:"file"
The compiler inserts the public key into the assembly manifest and then signs the final assembly with the private key. Use sn -k file (at the command line) to generate a key file.
The key information appears in the Originator Blob field of the assembly.
If you compile with /target:module, information about the key file will be held in the module and incorporated into the assembly that will be created when you compile an application with /reference.
/a.keyfile is the short form of /assembly.keyfile.
Compile source file input.vb
and specify a key file:
vbc /assembly.keyfile:myfile.sn input.vb
Visual Basic Compiler Options | /assembly.keycontainer | /assembly.version