Any plans to include these changes in csharp-sqlite?
Added NET_35 COMPILER MACRO to exclude 3.5 specific language features
Posted .zip as well
Runs all tests
Noah
Thanks.
It works with MonoDevelop 2.2 on Windows on .Net Framework 3.5.
However, I get compile errors building csharp-sqlite with MonoDevelop
2.0 on Mono 2.4.x on openSuse Linux.
The compile errors are with the ternary operator. These are easy work-
arounds by changing the lines to an if/else statement. However, when
I run it on Mono 2.4.x on Linux, I get a NotImplementedException with
some file safe handle property. If I run it with Mono 2.6.x, I get
different exception, something about a file is already locked. I did
not try mono's svn trunk though.
Anyways, I need to get back to you on the exact compile error messages
and runtime exception messages and stacktrace.
Hopefully, between you and the Mono project, we can resolve this so
csharp-sqlite will run on Mono on Linux too. And possibly Moonlight
as well.
You can fix this issue either by using the obsolete but still
supported FileStream.Handle property in place of
FileStream.SafeFileHandle.DangerousGetHandle ()
or by applying the patch attached to [Bug 573477 in Novell's Bugzilla]
https://bugzilla.novell.com/show_bug.cgi?id=573477