You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the runtime environment to .NET 7, upgraded Qrcoder to version 1.4.3, SvgQRCode is no longer available. Are there any alternative classes or implementation methods?
Activity
doggy8088 commentedon Aug 29, 2023
有的,請直接將 TargetFramework 從
net7.0修改為net7.0-windows即可使用。唯一的缺點就是無法跨平台,僅能支持 Windows 平台。
koaqiu commentedon Oct 6, 2023
你可以把源代码中的SvgQrCode.cs 复制到你的项目中
删除 SvgLogo 相关代码,然后再修改第一行的条件编译(或者直接删除),这样就能在net6 或者net7 运行了。
如果需要Logo支持的话,你需要用 自己重写一下 处理位图的相关代码。
Shane32 commentedon Apr 21, 2024
In English, the original issue was:
This has been solved by:
codebude commentedon Apr 21, 2024
Fixed with #490. Will be part of QRCoder 1.5.0 release.