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

QRCOder.SvgQRCode is not available for .net6 Web Application. SVG is mostly used in web applications and not really relevant for windows apps.. I just added the SvgQRCode code to my web application to continue but you may want to ensure you can create svg for web in your package. #395

Closed
endstreet opened this issue Apr 15, 2022 · 4 comments

Comments

@endstreet
Copy link

Type of issue

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

Expected Behavior

Current Behavior

Possible Solution (optional)

Steps to Reproduce (for bugs)

Your Environment

@endstreet endstreet changed the title SvgQRCode is not available for .net6 Web Application. SVG is mostly used in web applications and not really relevant for windows apps.. I just added the SvgQRCode code to my web application to continue but you may want to ensure you can create svg for web in your package. QRCOder.SvgQRCode is not available for .net6 Web Application. SVG is mostly used in web applications and not really relevant for windows apps.. I just added the SvgQRCode code to my web application to continue but you may want to ensure you can create svg for web in your package. Apr 15, 2022
@coddo
Copy link

coddo commented Sep 8, 2022

We're currently developing on Linux and deploying on Linux. Using SvgQRCode worked in version 1.4.1.
Now in version 1.4.3, the class SvgQRCode is no longer available.

This looks to be a blocker for anyone developing for Linux and wanting to upgrade to .NET 6.

This has been working fine on non-Windows platforms. Why was the support dropped in .NET 6?

@PierreJeudiMerci
Copy link

The main reason seems to be the following breaking change from .Net 6 : https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only

@Shane32
Copy link
Contributor

Shane32 commented Apr 13, 2024

@codebude
Copy link
Owner

codebude commented May 1, 2024

As @Shane32 wrote - it's fixed. From QRCoder release 1.5.0 on the SvgQRCoder is avaible also on .NET 6+ (and newer) on non-Windows platforms.

@codebude codebude closed this as completed May 1, 2024
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

5 participants