CompilerParameters.Win32Resource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the file name of a Win32 resource file to link into the compiled assembly.
public:
property System::String ^ Win32Resource { System::String ^ get(); void set(System::String ^ value); };
public string Win32Resource { get; set; }
member this.Win32Resource : string with get, set
Public Property Win32Resource As String
Property Value
A Win32 resource file that will be linked into the compiled assembly.
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 Win32Resource to compile a Win32 resource file into the assembly. Use EmbeddedResources or 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 Supports method with the flag Win32Resources.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om