Hi,
We are currently looking into Aspose.BarCode and are trying to get it working in our Xamarin project. We read that Aspose.BarCode does support Xamarin[1]. Unfortunately, we get a PlatformNotSupportedException[2] the moment we initiate the BarCodeReader. I have also added the version numbers we are running on[3].
Can you please advise?
Kind Regards,
Willem.
[1]
Support added on version 18.6
[2]
image.jpg (309.9 KB)
Stack Trace:
at System.Drawing.Image…ctor () [0x00006] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mcs/class/Facades/System.Drawing.Common/Stubs.cs:688
at System.Drawing.Bitmap…ctor (System.IO.Stream stream) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mcs/class/Facades/System.Drawing.Common/Stubs.cs:22
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap…ctor(System.IO.Stream)
at Aspose.BarCode.BarCodeRecognition.BarCodeReader.SetBarCodeImage (System.IO.Stream stream) [0x0002d] in :0
at Aspose.BarCode.BarCodeRecognition.BarCodeReader…ctor (System.IO.Stream stream, Aspose.BarCode.BarCodeRecognition.BaseDecodeType type) [0x0002f] in :0
at OUTsurance.Mobile.Features.BarcodeScanner.AsposeBarcodeReader.Read
[3]
=== Visual Studio Community 2019 for Mac ===
Version 8.9.8 (build 7)
Installation UUID: 01fd6342-d3b2-44ac-af79-e923fd74e4a0
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 612000125
=== Mono Framework MDK ===
Runtime:
Mono 6.12.0.125 (2020-02/8c552e98bd6) (64-bit)
Package version: 612000125
=== Roslyn (Language Service) ===
3.9.0-6.21152.10+c10f884b30737542ddd84ca889a4aad9281ce210
=== NuGet ===
Version: 5.8.0.6860
=== Xamarin Designer ===
Version: 16.9.0.324
Hash: b1e216c75
Branch: remotes/origin/d16-9
Build date: 2021-04-16 00:02:50 UTC
=== .NET Core SDK ===
SDK: /usr/local/share/dotnet/sdk/5.0.202/Sdks
SDK Versions:
5.0.202
5.0.201
5.0.103
5.0.100
3.1.408
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks
=== .NET Core 3.1 SDK ===
SDK: 3.1.408
=== Apple Developer Tools ===
Xcode 12.4 (17801)
Build 12D4e
=== Xamarin.Mac ===
Version: 7.10.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:41-0400
=== Xamarin.iOS ===
Version: 14.16.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:42-0400
=== Xamarin.Android ===
Version: 11.2.2.1 (Visual Studio Community)
Commit: xamarin-android/d16-9/877f572
Android SDK: /Users/ivankruger/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
None installed
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 31.0.1
SDK Build Tools Version: 30.0.2
Build Information:
Mono: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-9@54f8c24
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.34.1@daff8f4
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@d210f11