[Mono-list] Porting MVC4 to Mono 3.0.3

Daniel Lo Nigro lists at dan.cx
Tue Feb 5 08:40:22 UTC 2013


Hey there,

1. System.Data.Entity can't be found

Mono doesn't support Entity Framework 4 or 5, it only supports the alpha
version of Entity Framework 6. If you are using Entity Framework, you might
not have much luck with Mono. Entity Framework 6 is still an alpha version
and is not yet ready for production. If you are not using Entity Framework
in your application, remove all references to it (your app should not
reference System.Data.Entity or EntityFramework, and it should not be
mentioned in the Web.config).

2. I had to remove the attribute targetFramework from compile element and
> from httpRuntime in Web.Config

This generally happens when you're trying to run an ASP.NET 4.0 site under
ASP.NET 2.0/3.5. Ensure you're using ASP.NET 4.0 (xsp4 if you're using
XSP, fastcgi-mono-server4
if you're using FastCGI, mod-mono-server4 if you're using Apache +
mod_mono). You should be able to see the ASP.NET version at the bottom of
error pages, it should look like this:

Version Information: 3.0.3 (tarball Monday 28 January 18:14:39 EST 2013); *
ASP.NET Version: 4.0.30319.17020*


On Tue, Feb 5, 2013 at 7:34 PM, Alberto León <leontiscar at gmail.com> wrote:

> I'm porting a MVC4 application to Mono 3.0.3
>
> I have two importants questions:
> 1. System.Data.Entity can't be found
> 2. I had to remove the attribute targetFramework from compile element and
> from httpRuntime in Web.Config
>
> Where is or how I can get System.Data.Entity?
>
> And what happen with targetFramework? Is a but or a feature request to
> xbuild?
>
> Thanks,
>
> --
> https://twitter.com/AlbertCSharpMan
> http://stackoverflow.com/users/690958/alberto-leon
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130205/6350de82/attachment-0001.html>


More information about the Mono-list mailing list