/resource (Embed Resource File to Output) (Visual J#
Embeds the resource file in the output file.
Useto link a resource to an assembly and not place the resource file in the output file.
Resources are public in the assembly when created with the Visual J# compiler.
If filename is a .NET Framework resource file created, for example, by or in the development environment, it can be accessed with members in the namespace (see for more information). For all other resources, use the GetManifestResource* methods in the class to access the resource at run time.
/res is the short form of /resource.
To set this compiler option in the Visual Studio development environment
Add a resource file to your project.
Select the file you want to embed in Solution Explorer.
In the Properties window, select Build Action for the resource file.
Set Build Action to Embedded Resource.