/linkresource:filename[,identifier[,mimetype]]
where:
The /linkresource option creates a link to a NGWS resource in the output file; the resource file is not placed in the output file. /resource embeds a resource file in the output file.
/linkresource requires one of the /target options other than /target:module.
NGWS resources can be accessed with members in the System.Resources namespace.
/linkres is the short form of /linkresource.
Compile in.cs
and link to resource file rf.resource
:
csc /linkresource:rf.resource in.cs