Hello,
i'm just asking for future purposes.
Regards cunnza
I'm already using Zxing in .netstandard project.
Try to add string below to your netstandard *.csproj
<PackageTargetFallback>portable-net45+win8+wpa81+wp8</PackageTargetFallback>
It works in my project with .netstandard1.4 project
Great, got it working with .netStandard 2.0 ! Thank you !
Hey folks I plan on getting .Net standard support very soon.
Seems this is a duplicate of https://github.com/Redth/ZXing.Net.Mobile/issues/578
@Redth do you need help to migrate it in .Net standard ?
:)
Looking forward to .Net Standard support. Hopefully it's available soon. The app I'm working on for my company requires Barcode scanning, and all of the other libraries are terrible. Lead doesn't like the unsupported warning on the project references, so am waiting for .Net Standard support, instead of the fallback.
There's a 2.4.0-beta1 on nuget which has this. Please give it a try!
Thanks for all @Redth. I will try it today !
Nice, this is the last component in our apps that doesn't have .net standard support. Finally our last warnings will be gone
Hi All,
Any one can help please?
I am getting below error after adding NuGet packages "ZXing.Net.Mobile.Forms"
Severity Code Description Project File Line Suppression State
Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'ZXingNetMobile, Version=2.4.1.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'ZXingNetMobile.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) in /Users/builder/data/lanes/5809/a7829590/source/monodroid/external/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:line 229
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) QRCodeReader.Android
@pradipshakya see #701
you need to manually add some more references
Thanks for reply, I have fixed this issue by using old NuGet packages.
Thanks for reporting this issue! Unforunately it took me way too long to respond 馃槶. Sorry, I apologize! Recently the source code for this project was completely refactored to modernize it. Many PR's were included in this effort, and many bugs were hopefully fixed. Please try out the latest 3.x series of NuGet packages (currently in prerelease). To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate. If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible. Thank you for your patience and understanding! Happy scanning!
Most helpful comment
Hey folks I plan on getting .Net standard support very soon.