Redth / ZXing.Net.Maui

Barcode Scanning for MAUI?
MIT License
434 stars 143 forks source link

No support for .Net8 #156

Open shikha-shriya opened 6 months ago

shikha-shriya commented 6 months ago

I updated my solution to .net8 & ZXing is still not supporting to .net8. Can you please publish to .Net8?

https://www.nuget.org/packages/ZXing.Net.Maui.Controls

trivalik commented 6 months ago

I changed all 7.0 to 8.0 in csproj-files by search and replace and added <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> into an ItemGroup, then all works.

std66 commented 6 months ago

Until it is released, checkout branch "add-net8".

trivalik commented 6 months ago

Are you sure this branch builds because no <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> is in csproj-Files, because it was required when I was tring it. See upgrade guide: https://github.com/dotnet/maui/wiki/Upgrading-.NET-MAUI-from-.NET-7-to-.NET-8

std66 commented 6 months ago

You'll receive a compiler warning for the UseMaui, otherwise it compiles.

dgerding commented 5 months ago

fwiw, I can confirm the "add-net8" branch works for me on Windows and Android with .net8 target app.

kfrancis commented 5 months ago

It works here as well, though the Comet project should be removed entirely. We're modifying the FrameAnalyzer to use with https://github.com/henrivain/TesseractOcrMaui

Arieldelossantos commented 5 months ago

hi @Redth, are you planning to update this soon??

eli191 commented 5 months ago

I have it in my .NET MAUI 8.0 application and it is working.

IrynaDoroshenkoDev commented 2 months ago

for my app .NET MAUI 8.0 it is working

eliberi commented 2 months ago

To use the "add-net8" branch, do you just have to add it to your project manually, not using NuGet?