Issue
I am trying to run a windows form application developed on visual studio 2012 and C# on my raspberry pi using mono compiler. But i get the following error.
System.IO.FileNotFoundException: Could not load file or assembly
'System.Data.SqlServerCe
The database file is also included in the same folder from where my .exe runs. How can I resolve this error?
Solution
Seems you can't do that. You're missing the Sql Server compact dll, and as stated here, it's a native library and cannot be used with mono.
I think you will have to convert db/queries in something which is compatible with linux environment like SQLite here or similar. Check also this from the raspberry forums
Answered By - Liquid Core Answer Checked By - Terry (WPSolving Volunteer)