Without going too in depth, I was looking to create an extension for Oxide (UMod?) that exposed the Microsoft Entity Framework but I ended up getting fed up with that so I started looking instead to write an extension to allow the use of SQL Compact. I feel like I am pretty close but I cant seem to figure out how to allow SqlCe to load its native binary dependancies.
Below is the error I'm currently getting:
I am currently packing the System.Data.SqlServerCe binary into my extension's output library. I am then moving the output and the x86 folder and the amd64 folder into "<server path>\RustDedicated_Data\Managed."
So the structure is something like:
Can anyone suggest a possible option for including native libraries for an extension? or maybe some insight into ways around this error? I havent really found much in the way of documentation for this one. Thanks for any and all help in advance.
Below is the error I'm currently getting:

I am currently packing the System.Data.SqlServerCe binary into my extension's output library. I am then moving the output and the x86 folder and the amd64 folder into "<server path>\RustDedicated_Data\Managed."
So the structure is something like:
- <server path>\RustDedicated_Data\Managed\amd64
- <server path>\RustDedicated_Data\Managed\x86
- <server path>\RustDedicated_Data\Managed\Oxide.Ext.Rustic.dll
Can anyone suggest a possible option for including native libraries for an extension? or maybe some insight into ways around this error? I havent really found much in the way of documentation for this one. Thanks for any and all help in advance.
