Open mkavici opened 2 years ago
run into the same error...
Same here
Same error in dotnet6 using the GoogleAuthenticator lib. It runs into an error because QRCoder does not support dotnet6 in no windows environments
It's because of #315
Targeted on Console App or Worker cause same error because of QRCode class is not visible using 1.4.3 and .NET6.0
Ya man the NET6_0_WINDOWS bricked the class from being visible in NET6 projects. the same for like SVG.
Luckily I can just copy pasta it and it will for for the next 3 years until i have to update this package.
-_EDIT - FYI
So I removed the NET6_0_WINDOWS and just left [System.Runtime.Versioning.SupportedOSPlatform("windows")]
and getting this "warning"
For me since I copied I will just remove all the meta data since its only gonna run on winblows any way
Thanks friends
I ran into the same problem and i used 1.4.1 QrCoder instead of 1.4.3 and things worked normally
Dec 22 is one year anniversary of this bug xD
QRCode class is not visible on net6.0 targeted web app projects
Type of issue
[x] Bug
Possible Solution (optional)
https://github.com/codebude/QRCoder/blob/cecf2066d3f3a74b142aaa7c8d9f744c4673118c/QRCoder/QRCode.cs#L1
if NETFRAMEWORK || NETSTANDARD2_0 || NET5_0 || NET6_0_WINDOWS || NET6_0