Closed Zile1999 closed 11 months ago
Hello, @Zile1999 In first, Saraff.Twain.NET 1.0.32.732 already includes Saraff.TwainX.NET (netstandard2.0)
In your case, the problem is not in the package, but in the installed software for working with TWAIN (.../SDKs/MacOSX.13.1.sdk/System/Library/Frameworks/TWAIN.framework/TWAIN.tbd for architecture x86_64) and apparently this does not correspond to your target platform
Description
I am trying to develop a MAUI application that should work on multiple platforms (Windows/MacOS) using .NET 7.0. I have encountered an issue when using the Saraff.TwainX.NET package for document scanning. The package works fine on Windows, but when the same process is applied to Mac Catalyst 7.0, package does not function.
The error occurring during the project build in VS Code is shown in the attacked image.
Additionally, on the provided link https://www.nuget.org/packages/Saraff.TwainX.NET#supportedframeworks-body-tab there is a Framework tab listing all compatible version, but Mac Catalyst 7.0 is not marked.
Is it possible to use this package on Mac Catalyst 7.0 at all? If not, are there any potential solutions or alternatives?
Versions in use: -MacOS: 13.0 -.NET MAUI 7.0 (Mac Catalyst 7.0)