codebude/QRCoder

`QRCode` is not found in .NET 7

edgarhd opened this issue · 7 comments

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 !

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

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?

still not found with .NET 7

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

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 commented

See my solution: #450 (comment)

sjc57 commented

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