Skip to content

.NET Core changed the field "iconData" to "_iconData" in System.Drawing.Icon #2

Description

@Sugz

When using this project with .NET Core, you have to use the new package from microsoft for System.Drawing (this one: System.Drawing.Common) in which they apparently changed the field name of "iconData" to "_iconData", hence the static IconUtil() method is currently throwing a System.ArgumentNullException for gen.Emit(OpCodes.Ldfld, fi); since the variable fi is null.

I tried with "_iconData" and everything seems to be fine now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions