rcole
rcole

Reputation: 96

ZXing.Mobile.Net.Forms ZXing.Result Type Issue

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:

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

Answers (2)

Huy.Vu
Huy.Vu

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

rcole
rcole

Reputation: 96

Removing ZXing.Net seems to have solved my issue.

Upvotes: 0

Related Questions