I\'m trying to access a SpatiaLite from C# using System.Data.SQLite provider. When I try to load the SpatiaLite extension, I always get the
System.Data.SQLite.S
I had the exact same problem in Java. I called System.load() for all the dependent DLLs and everything worked like a champ!
Well thanks to sqlite3.exe command line tool, I've found out that there are some additional DLLs needed for this to run:
You can find these on SpatiaLite's download page. Just copy them to the bin directory.
UPDATE: one additional dll needed is libiconv2.dll