-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Difficulty finding library dependencies #450
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
Comments
I ran into the same issue. I am using the current net 7.0 and just tried to use and am getting a missing QRCode. It looks like I can't use this. |
You should use forked project from https://github.com/JPlenert/QRCoder-ImageSharp with net7 support. It use ImageSharp by SixLabors. Here is my sample code: @using QRCoder private string GenerateQRCode(string inputText) |
Thanks @lqlam , Even I found little fishy, when I saw the lines Line 9 in cecf206
It saved me a lot of time. |
Hi @pishangujeniya , hi @lqlam , Sorry to hear that you struggled with the library. I tried to document this in the wiki. Check the compatibility matrix over here: https://github.com/codebude/QRCoder/wiki/Advanced-usage---QR-Code-renderers#2-overview-of-the-different-renderers I'm also unhappy with the situation and how imports are solved. The thing is: I started QRCoder in 2013 as a fresher. Back then full, classic .NET Framework was state of the art and System.Drawing was available everywhere. So I built QRCoder upon it. Then over the years I tried to add support for more and more .NET variants/versions which lead to the mess (incl. compiler flags) that you pointed out. Unfortunately I'm constantly in lack of time and in addition are a bit overwhelmed. I would love to give QRCoder the update it deserves, but fear to break it when cutting off loose ends (like older .NET support). It's some kind of dilemma. Maybe I can find 1-3 person to build up a team to develop QRCoder 2.0. |
Hello, I noticed one problem. The library does not indicate any limitations or requirements. You can understand this only if you open the code like here.

I suggest that you add platform and limit information to the ReadMe file.
The text was updated successfully, but these errors were encountered: