Reputation: 96
I'm trying to get the result of a scan using a MobileBarcodeScanner
. If I save the result as a var
everything works fine, but as soon as I try to use ZXing.Result
, I get the message The type 'Result' exists in both 'zxing, Version=0.16.5.0 ...' and 'zxing.portable, Version=0.16.2.0 ...'
I have these packages installed:
ZXing.Net.Mobile.Forms, Version 2.4.1
ZXing.Net.Mobile, Version 2.4.1
Zxing.Net, Version 0.16.5
I've seen other people use ZXing.Result
, do I have an extra package installed? Am I missing one? Is there a way to mitigate this conflict?
Upvotes: 1
Views: 642
Reputation: 249
Though removing Zxing.Net may work, but it could cause some issues when you release your project.
The proper solution should be: - Look at the dependency of ZXing.Net.Mobile for the exact version it's using Zxing.Net. - Install that version, there is a high chance that ZXing.net 0.16.5 is lower than the version it's expecting.
Upvotes: 1