Inserts a Win32 resource file in the output file.
/win32resource:filename
You can create a Win32 resource file with the Microsoft Windows Resource Compiler (RC).
A Win32 resource can contain version or bitmap (icon) information that helps identify your application in the Windows Explorer. If you do not specify /win32resource, the compiler generates version information based on the assembly version. The /win32resource and /win32icon options are mutually exclusive.
See /linkresource to reference a .NET Framework resource file, or /resource to attach a .NET Framework resource file.
Note The /nologo option is not available from within the Visual Studio development environment; it is available only when compiling from the command line. It cannot be changed programmatically.
The following code compiles in.vb
and attaches a Win32 resource file, rf.res
:
vbc /win32resource:rf.res in.vb