System.CodeDom.Compiler.CompilerParameters.Win32Resource Property

Gets or sets the file name of a Win32 resource file to link into the compiled assembly.

Syntax

public string Win32Resource { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Linking files through this property is similar to the /winres and /winresource command-line arguments supported by many of the .NET Framework compilers.

Use CompilerParameters.Win32Resource to compile a Win32 resource file into the assembly. Use CompilerParameters.EmbeddedResources or CompilerParameters.LinkedResources to compile with .NET Framework resource files.

Not all compilers support Win32 resource files, so you should test a code generator for this support before linking a resource file by calling the ICodeGenerator.Supports(GeneratorSupport) method with the flag GeneratorSupport.Win32Resources.

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0