Resources
/linkresource:<filename>[,<identifier>] Links an external resource to an assembly. Can have an optional identifier, which contains the logical name of the resource.
csc /linkresource:aResource.resource aProg.cs
/resource:<filename> Embeds a resource into an assembly.
csc /resource:aResource.resource aProg.cs
/win32icon:<filename> Embeds a Windows icon into an assembly.
csc /target:winexe /win32icon:anIcon.ico aProg.cs
/win32res:<filename> Adds a Win32 resource to an assembly.
csc /target:winexe /win32res:aResource.res aProg.cs
Get C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.