1

Can somebody help me with a problem I can't seem to resolve? I'm trying to set up a barcode scanner in MAUI via the package ZXing.Net.Maui that I found in a tutorial on Youtube: https://www.youtube.com/watch?v=ostgj2xB_ok&ab_channel=GeraldVersluis

I get the following messages that VS2022 is not able to recognize the package ZXing.Net.Maui even though I have the package installed.

enter image description here

These are the errors that VS 2022

enter image description here

I have imported the ZXing package but VS doesn't seem to give me any red lines from errors

enter image description here

enter image description here

I couldn't find ZXing.Net.Maui package but a different one that seems to relate to the other package. I installed the 1.0.4 since the 1.0.5 version is deprecated.

Can someone help me? I need to use this package

  • Please don’t post code or errors as images. And it would be very helpful to include a link to the specific nuget package you are using – Jason Nov 19 '22 at 19:30
  • https://www.nuget.org/packages/ZXing.Net.Maui/0.3.0-preview.1 – Jason Nov 19 '22 at 23:23

1 Answers1

5

Install package ZXing.Net.Maui.Controls

Then add namesapce using ZXing.Net.Maui.Controls;

source -> https://github.com/Redth/ZXing.Net.Maui/issues/90

NAT
  • 51
  • 1
  • 3