linux - C# console application developed with mono runs on windows but not on ubuntu -
i wrote c# project bring attendance record finger print device using xamarin studio.
the code runs when click run => run => mono 3.0.6 menu , runs when double click exe file in debug folder of project. when try run application on ubuntu machine mono run-time installed using following command
mono myapplication.exe
i following output
system.dllnotfoundexception: fkattend @ (wrapper managed-to-native) fingerprint.mdlpublic:fk_connectnet (int,string,int,int,int,int,int) @ testcsfb.mainclass.cmdopencomm () [0x00000] in <filename unknown>:0 @ testcsfb.mainclass.main (system.string[] args) [0x00000] in <filename unknown>:0 [error] fatal unhandled exception: system.dllnotfoundexception: fkattend @ (wrapper managed-to-native) fingerprint.mdlpublic:fk_connectnet (int,string,int,int,int,int,int) @ testcsfb.mainclass.cmdopencomm () [0x00000] in <filename unknown>:0 @ testcsfb.mainclass.main (system.string[] args) [0x00000] in <filename unknown>:0
fkattend
name of .dll
file think embedded within .exe
file, because run's on windows perfectly.
does know why issue happens?
Comments
Post a Comment