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

/linkresource (Link to NGWS Runtime Resource)

Creates a link to a NGWS runtime resource. /linkresource:filename[,identifier]

-or-

/linkres:filename[,identifier]

Arguments

filename
The NGWS runtime resource file to which you want to link from the assembly.
identifier (optional)
The logical name for the resource; the name used to load the resource. The default is the name of the file name.

Remarks

The /linkresource option does not embed the resource file in the output file. Use the /resource option to embed a resource file in the output file.

/linkresource requires one of the /target options other than /target:module.

NGWS runtime resources can be accessed with members in the System.Resources namespace.

/linkres is the short form of /linkresource.

Example

Compile in.vb and link to resource file rf.resource:

vbc /linkresource:rf.resource in.vb

See Also

Visual Basic Compiler Options