[Mono-list] Mono.Data.Sqlite.dll TypeLoadException
Daniel Hughes
trampster at gmail.com
Mon Nov 21 19:02:56 EST 2011
When trying to use Mono.Data.Sqlite v4.0.0.0 from .net on windows I get the
following exception
Unhandled Exception: System.TypeLoadException: Inheritance security rules
violated by type: 'Mono.Data.Sqlite.SqliteConnectionHandle'. Derived types
must either match the security accessibility of the base type or be less
accessible.
at Mono.Data.Sqlite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum
flags, Int32 maxPoolSize, Boolean usePool)
at Mono.Data.Sqlite.SqliteConnection.Open()
Any idea whats causing this? or what I can do to work around it?
I've been using the 2.0 version of this assembly (which works fine)
until recently when I tried to update to .net 4.0 support.
Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111122/2aa227a3/attachment.html
More information about the Mono-list
mailing list