Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QRCode is not found in .NET 7 #435

Open
edgarhd opened this issue Dec 5, 2022 · 7 comments
Open

QRCode is not found in .NET 7 #435

edgarhd opened this issue Dec 5, 2022 · 7 comments

Comments

@edgarhd
Copy link

edgarhd commented Dec 5, 2022

I just upgraded my project to .NET 7 and this is not working, QRCode is not found.
When is this going to be compatible with .NET 7 ?

Thanks !

@guifurlan89
Copy link

Same problem here in version 1.4.3, downgrading to 1.4.2 solve for me.

@simonpinn
Copy link

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2
The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

@GeeSuth
Copy link

GeeSuth commented Jan 27, 2023

still not found with .NET 7

@Eaglenait
Copy link

Eaglenait commented Feb 3, 2023

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2 The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

System.Drawing is depreciated starting .NET 6
A reimplementation with a open source alternative is necessary.
A PR using SkiaSharp exists but I don't know if it is going to be merged any time soon

@ThaDaVos
Copy link

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2 The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

See: #361 (comment)

@lqlam
Copy link

lqlam commented Apr 25, 2023

See my solution: #450 (comment)

@sjc57
Copy link

sjc57 commented Oct 31, 2023

On NET6 I had this problem. In project settings, I changed Target OS from None to Windows and the error went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants