Creates a link to a managed resource.
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.
If filename is a .NET Framework resource file created, for example, by the Resource File Generator (Resgen.exe) or in the development environment, it can be accessed with members in the System.Resources namespace (see System.Resources.ResourceManager for more information). For all other resources, use the GetManifestResource* methods in System.Reflection.Assembly class to access the resource at run time.
filename can be any file format. For example, you may want to make a native DLL part of the assembly, so it can be installed into the Global Assembly Cache and accessed from managed code in the assembly.
/linkres is the short form of /linkresource.
Compile in.js and link to resource file rf.resource:
jsc /linkresource:rf.resource in.js