Errors after installing:
Severity Code Description Project File Line Suppression State
Error Can not resolve reference: `zxing.portable`, referenced by `ZXing.Net.Mobile.Forms`. Please add a NuGet package or assembly reference for `zxing.portable`, or remove the reference to `ZXing.Net.Mobile.Forms`. TicketReader.Android ```
```Severity Code Description Project File Line Suppression State
Error Can not resolve reference: `ZXingNetMobile`, referenced by `ZXing.Net.Mobile.Forms.Android`. Please add a NuGet package or assembly reference for `ZXingNetMobile`, or remove the reference to `ZXing.Net.Mobile.Forms.Android`. TicketReader.Android ```
```Severity Code Description Project File Line Suppression State
Error Can not resolve reference: `zxing.portable`, referenced by `ZXing.Net.Mobile.Forms`. Please add a NuGet package or assembly reference for `zxing.portable`, or remove the reference to `ZXing.Net.Mobile.Forms`. TicketReader.Android
I have the same problem
I stumbled across this issue too, but managed to fix it. For anyone looking for a possible solution, pleas read on!
TLDR: Make sure you have installed ZXing.Net.Mobile AND ZXing.Net.Mobile.Forms in ALL target projects and the netstandard project!
So the problem is that MSBuild cannot find some .dlls which should be in the nupkg. The missing dlls are zxing.portable.dll and ZXingNetMobile.dll, and they come with the ZXing.Net.Mobile package, which is actually referenced as dependency of the *.Forms package, but there seems to be a NuGet or MSBuild bug that prevents this from resolving.
Thank you, bruzkovsy. That fixed it for me.
Thanks bruzkovsky, you saved my time 馃憤
Thanks bruzkovsky, it work for me :)
It Is Ok
Worked for me!
it is posible that ZXing.Net.Mobile.Forms depends on ZXing.Net.Mobile to avoid this? I'm new to xamarin and I was lucky that found this, but for newcomers is hard to start and things like this can take time to fix... thanks you
The readme should be more clear about that I think. Many people are running into this.
3.0.0 should make this all work much more nicely!
Most helpful comment
I stumbled across this issue too, but managed to fix it. For anyone looking for a possible solution, pleas read on!
TLDR: Make sure you have installed
ZXing.Net.MobileANDZXing.Net.Mobile.Formsin ALL target projects and the netstandard project!So the problem is that MSBuild cannot find some .dlls which should be in the nupkg. The missing dlls are
zxing.portable.dllandZXingNetMobile.dll, and they come with theZXing.Net.Mobilepackage, which is actually referenced as dependency of the *.Forms package, but there seems to be a NuGet or MSBuild bug that prevents this from resolving.