Hi!
I have a problem.
In the current Nuget Zebra.Printer.SDK (2.15.2634) is not providing
UsbDiscoverer
and
DiscoveredPrinterDriver
and
DiscoveredUsbPrinter
in
try
{
foreach (DiscoveredPrinterDriver printer in UsbDiscoverer.GetZebraDriverPrinters())
{
Console.WriteLine(printer);
}
foreach (DiscoveredUsbPrinter usbPrinter in UsbDiscoverer.GetZebraUsbPrinters(new ZebraPrinterFilter()))
{
Console.WriteLine(usbPrinter);
}
}
catch (ConnectionException e)
{
Console.WriteLine($"Error discovering local printers: {e.Message}");
}
Please fix as soon as possible.
Best regards
Martin
UsbDiscoverer not available in .NET Core |
2 Replies
Thank you, but this package does not seem to work with .NET 5?
I get this message: Package Zebra.Printer.Card.SDK was restored using .NET 4.7 instead of project target...
install this using package manager console Install-Package Zebra.Printer.Card.SDK -Version 2.15.2634