Hi I’ve a problem using a dll that i have created with c# in vs 2010. In my dll (compiled for x86 for .net 3.5) I use a Sqlce server version 3.5 for store data. I put that dll (with all the dll’s that sqlce need like sqlceme.dll) in the asset/plugins folder inside my unity project. The problem is that the my dll works fine until I use it for connect to the lcoal database. In that case unity crash give me this error (even though that dll is present inside my plugin folder):
DllNotFoundException: sqlceme35.dll
System.Data.SqlServerCe.NativeMethods.LoadValidLibrary (System.String modulePath, Int32 moduleVersion)
System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries ()
Rethrow as SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8080. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries ()
Anyone can help me please?