On 18.03.2010 13:46, Daniel Morgan wrote: > I emailed the csharp-sqlite google group about this. > > Has anyone else tried running csharp-sqlite on Mono or Moonlight? > > http://groups.google.com/group/csharp-sqlite/browse_thread/thread/f54ebf64e688f8b7 > > The latest snapshot of csharp-sqlite works for me with Visual Studio 2008 / > .Net Framework 3.5. > > It also 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 a > different exception, something about a file is already locked. I did > not try mono's svn trunk though.
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 https://bugzilla.novell.com/show_bug.cgi?id=573477 Robert _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list