[Mono-list] Mono 3.0 and Entity Framework

Matthias Buchetics mbuchetics at gmail.com
Mon Nov 5 13:25:22 UTC 2012

I just compiled Mono 3.0 on a Linux box (OpenSuse) but I am having trouble
getting Entity Framework to work. The Mono documentation (
http://www.mono-project.com/EntityFramework) is seriously lacking on
information about what version of EF is included, it simply says: "As of
Mono 2.11.3, Microsoft's open sourced EntityFramework is part of Mono's

When I run my program I get this error:

Could not load signature of
due to:
Could not load signature of
due to:
ss 08:19:02,879 [SqlEventLogger] sql export error
System.TypeLoadException: Could not load type
'System.Data.Entity.Internal.LazyInternalConnection' from assembly
'EntityFramework, Version=, Culture=neutral,
  at AlVis.Sql.AlVisDbContext..ctor (System.String nameOrConnectionString)
[0x00000] in <filename unknown>:0

I then removed the EntityFramework.dll from the program's folder, now I get

System.IO.FileNotFoundException: Could not load file or assembly
'EntityFramework, Version=, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'EntityFramework, Version=, Culture=neutral,

I wasn't able to find any information about how to use EF with Mono besides
the news posts that it is now included.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121105/cb894502/attachment.html>

More information about the Mono-list mailing list