The error with targetFramork isn't in running time, is building the MVC4 solution with xbuild
I think there is new attribute for the compile and the httpruntime elements that is not supported in xbuild. Thanks for the advice about System.Data.Entity 2013/2/5 Daniel Lo Nigro <[email protected]> > 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.NETversion 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 <[email protected]> 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 - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > -- https://twitter.com/AlbertCSharpMan http://stackoverflow.com/users/690958/alberto-leon
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
