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

@harissg

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?

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