[Mono-dev] Building and Running csharp-sqlite on Mono - Problems
robertj at gmx.net
Thu Mar 18 10:06:07 EDT 2010
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?
> 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
or by applying the patch attached to
More information about the Mono-devel-list