I'm trying to control RFID reader on linux using Dotnet core 3
ReaderDynamicLib.dll is main controller file which is not my created dll file. It is manufacture provided sdk file runs on only 32bit I tried it in windows.
I created console application to send parameter to ReaderDynamicLib.dll
[DllImport("ReaderDynamicLib.dll")]
public static extern int SetAntenna(int hScanner, int m_antenna_sel, int Address);
like this runs fine on windows but in linux
An attempt was made to load program with an incorrect format
I assume linux don't have run as 32bit option
I don't know anything about your project, but publishing for linux 32 bit should work with