Skip to content

Conflict between NuGet packages 'BarcodeScanning.Native.Maui' and 'ZXing.Net.Maui.Controls' in Windows. #203

Description

@geertgeerits

I'm using 'ZXing.Net.Maui.Controls' for generating barcodes and 'BarcodeScanning.Native.Maui' for scanning barcodes (which is the best).

There is a conflict between the two packages when running in Windows (no problem in Android and iOS).

I get the error in 'App.g.i.cs':
#if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
};
#endif

Sample project: https://github.com/geertgeerits/BarcodeScannerNative
Version: 3.0.4

Is there a solution for this?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions