Udostępnij za pośrednictwem


/win32res

Inserts a Win32 resource in the output file.

/win32res:filename

Arguments

  • filename
    The resource file that you want to add to your output file.

Remarks

A Win32 resource file can be created with the Resource Compiler.

A Win32 resource can contain version or bitmap (icon) information that would help identify your application in the Windows Explorer. If you do not specify /win32res, the compiler will generate version information based on the assembly version.

See /linkresource (to reference) or /resource (to attach) a .NET Framework resource file.

Example

Compile in.js and attach a Win32 resource file rf.res to produce in.exe:

jsc /win32res:rf.res in.js

See Also

Other Resources

JScript Compiler Options