[Mono-aspnet-list] How to remove MVC EditorForModel() entity framework dependency

Andrus kobruleht2 at hot.ee
Sat Apr 2 13:49:36 EDT 2011


There is no System.Data.Entity.dll assembly referenced in project.
Maybe System.Web.Mvc.dll EditorForModel calls it using reflection
I'm not sure that System.Data.Entity.dll can included and in works in Mono.

Andrus.

----- Original Message ----- 
From: Daniel J. Summers
To: mono-aspnet-list
Sent: Saturday, April 02, 2011 7:09 PM
Subject: Re: [Mono-aspnet-list] How to remove MVC EditorForModel() entity 
framework dependency


On Sat, Apr 2, 2011 at 3:43 PM, Andrus <kobruleht2 at hot.ee> wrote:

causes exception in Mono about missing  Entitiy framework dll . How to fix
this ?



Find the reference in the project, and set it to "Copy Local".  This will 
cause the DLL to be copied to your /bin folder when you build, and it should 
copy over when you deploy the project.




More information about the Mono-aspnet-list mailing list