Asp.net mvc 尝试使用Mono运行MVC 3 website plus EntityFramework会导致MissingMethodException
我使用Visual Studio 2012在Windows 7上构建了一个ASP.NET MVC 3 web应用程序。我的应用程序在Visual Studio中构建和运行时没有任何问题。我想在OS X 10.8.2上使用Xamarin Studio 4.0和Mono 3.0.4编辑并运行该web应用程序。以下是我到目前为止所做的尝试:Asp.net mvc 尝试使用Mono运行MVC 3 website plus EntityFramework会导致MissingMethodException,asp.net-mvc,entity-framework,asp.net-mvc-3,mono,xamarin-studio,Asp.net Mvc,Entity Framework,Asp.net Mvc 3,Mono,Xamarin Studio,我使用Visual Studio 2012在Windows 7上构建了一个ASP.NET MVC 3 web应用程序。我的应用程序在Visual Studio中构建和运行时没有任何问题。我想在OS X 10.8.2上使用Xamarin Studio 4.0和Mono 3.0.4编辑并运行该web应用程序。以下是我到目前为止所做的尝试: 在Xamarin工作室打开了我的.sln 已删除对System.Data.Entity和System.Web.Entity的引用 已将System.Web.Hel
Exception rethrown at [0]:
---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Web.Configuration.HostingEnvironmentSection ---> System.MissingMethodException: Method not found: 'System.Configuration.ConfigurationProperty..ctor'.
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000b9] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:524
--- End of inner exception stack trace ---
at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x002fb] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs:244
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) [0x0003a] in /Users/builder/data/lanes/mono-mac-ui-refresh-master/3108f76b/source/bockbuild/profiles/mono-mac-release/build-root/xsp-2.11/_build/mono-xsp-d3e2f80/src/Mono.WebServer/VPathToHost.cs:150
at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) [0x00775] in /Users/builder/data/lanes/mono-mac-ui-refresh-master/3108f76b/source/bockbuild/profiles/mono-mac-release/build-root/xsp-2.11/_build/mono-xsp-d3e2f80/src/Mono.WebServer.XSP/main.cs:486
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00025] in /Users/builder/data/lanes/mono-mac-ui-refresh-master/3108f76b/source/bockbuild/profiles/mono-mac-release/build-root/xsp-2.11/_build/mono-xsp-d3e2f80/src/Mono.WebServer.XSP/main.cs:264
我用谷歌搜索了这个例外,但还没有找到解决办法。我是不是漏掉了一封推荐信?是否有使用MVC 3或4以及在Mono下运行的Entity Framework 4或6的工作示例项目?请在xamarin bugzilla()中归档错误