QRCoder icon indicating copy to clipboard operation
QRCoder copied to clipboard

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.

Open endstreet opened this issue 2 years ago • 2 comments

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 avatar Apr 15 '22 12:04 endstreet

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?

coddo avatar Sep 08 '22 08:09 coddo

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

PierreJeudiMerci avatar Nov 18 '22 09:11 PierreJeudiMerci

Fixed by:

  • #490

Shane32 avatar Apr 13 '24 19:04 Shane32

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 avatar May 01 '24 21:05 codebude