[Mono-dev] Entity framework in mono

Sharique uddin Ahmed Farooqui safknw at gmail.com
Wed Jun 5 07:07:09 UTC 2013


I created another project now using MD on Linux, added EntityFramwork.dll
manually (don't know why add reference dialog not showing it), now It
compile  successfully. On compilation it gives following warning.

Warning CS1701: Assuming assembly reference `EntityFramework,
Version=4.3.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' matches
assembly `EntityFramework, Version=6.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'. You may need to supply runtime policy
(CS1701) (MonoMvc)

I don't think there any EntityFramwork  with version 4.3.xx exists.

Another thing is I'm not able to run it due to bug in System.Configuration
#11549 (https://bugzilla.xamarin.com/show_bug.cgi?id=11549)


Sharique uddin Ahmed Farooqui
http://safknw.blogspot.com/
"Peace" is the Ultimate desire of mankind.


On Tue, Jun 4, 2013 at 5:13 PM, Daniel Lo Nigro <daniel at dan.cx> wrote:

>
> Mono only supports Entity Framework 6 and support is currently not fully
> complete. I suggest looking at NHibernate or a micro ORM like ServiceStack
> ORMLite or Dapper instead.
> ---
> Regards,
> Daniel
>
> Sent from my phone - please excuse any typos.
> On 04/06/2013 3:40 PM, "Sharique uddin Ahmed Farooqui" <safknw at gmail.com>
> wrote:
>
>> Hi,
>> I build pretty basic application using entity framework5 and MVC3 using
>> VS2012 Express, it works well.
>> I open this application on Linux (OpenSuse 12.3, Mono 3.0.7). It gives
>> error
>>
>> /home/sharique/Projects/my projects/dot
>> net/MvcApplication1/MvcApplication1/Controllers/CustomerController.cs(44,44):
>> Error CS0103: The name `EntityState' does not exist in the current context
>> (CS0103) (MvcApplication1)
>>
>> --
>> Sharique uddin Ahmed Farooqui
>> http://safknw.blogspot.com/
>> "Peace" is the Ultimate desire of mankind.
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130605/ac7dae38/attachment.html>


More information about the Mono-devel-list mailing list