NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

/assembly.keyfile (Specify Key File)

Specifies a file containing a key pair to make a shareable component. /assembly.keyfile:"file"

-or-

/a.keyfile:"file"

Arguments

keyfile:file
File that contains the key. Place the string in double quotation marks (" ") if there is a space in file.

Remarks

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.

Example

Compile source file input.vb and specify a key file:

vbc /assembly.keyfile:myfile.sn input.vb

See Also

Visual Basic Compiler Options | /assembly.keycontainer | /assembly.version