Skip to content

.Net core 3.0 Reference to type 'Image' claims it is defined in 'System.Drawing' but it could not be found #12

Description

@harissg

The Code128BarcodeDraw Draw() method was working fine in the full .NET framework environment. However, as the project was ported over to the recent .net core 3.0 - It is complaining about Image not being available.

I understand there is a new System.Drawing.Common for .net core that is probably not being used in the BarcodeRenderingFramework....

Example:

                var bc = BarcodeDrawFactory.Code128WithChecksum;
               var img = bc.Draw(barcode, 60, 1); <<< error

Is there a workaround for this?

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