Skip to content

QRCode namespace doesn't exist in .NET 8 #489

Open
@ScottDurkin

Description

@ScottDurkin

Type of issue

[X ] Bug
[ ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement

Expected Behavior

Should be able to create new QRCode Object by passing in QRCodeData.

Current Behavior

QRCode namespace doesn't exist.

Steps to Reproduce (for bugs)

Upgrade to .NET Core 8

Your Environment

Visual Studio 2022 latest version with .NET Core 8.

Code sample that works in .NET Core 5

 QRCodeGenerator qrGenerator = new QRCodeGenerator();
 QRCodeData qrCodeData = qrGenerator.CreateQrCode(PublicProfileURL, QRCodeGenerator.ECCLevel.Q);
 QRCode qrCode = new QRCode(qrCodeData);
 Bitmap qrCodeImage = qrCode.GetGraphic(20);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions