Error Downloading Driver from Manager (MacOS Only)
I can load the Aerospike driver as an LPX6 file successfully (everything downloads and runs correctly) on the Mac. When I try to load it via NuGet/Manager, I get the below error:
Warning: No compatible assemblies found in package 'Aerospike.Database.LINQPadDriver'.
There is nothing in the LINQPad log file.
Has anyone experienced this issue and any hints on what I need to do on the Mac to get this working?
BTW, everything work correctly under windows...
Answers
Sorry - this is something I failed to mention in the docs. Before creating the NuGet package, you will need to remove the
-windows
suffix from any folders underlib
. So lib/net8.0-windows should be renamed to lib/net8.0.The reason is that Microsoft (quite reasonably) assume that WPF is a windows-only technology. However, with XPF, this is no longer true.
This applies only to the driver, which contains WPF code, not to any dependent packages which should be deployed as normal.