我决定在我的Mac上使用Xamarin Studio来试水,看看自从微软提供帮助以来Xamarin如何改进。这一切都进展得非常好,我甚至让EF使用MySql和我工作的网站的一大块。直到我必须实现OWIN和用于记录用户的ASP.NET标识位。代码没有错误和编译,但我得到了这个相当通用的Mono错误。任何人都可以对此有所了解吗?我已经搜索过但无法找到任何内容(除了出现在错误中的字符串常量的Mono源代码)。我猜Mono无法处理执行Owin和Asp.NET身份所需的DLL之一...
System.ExecutionEngineException
在mono_error_cleanup
之后重复使用MonoError描述:HTTP 500.Error处理请求。 详细信息:非Web异常。 异常堆栈跟踪: at(wrapper managed-to-native)System.Reflection.Assembly:GetTypes(System.Reflection.Assembly,bool) 在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin/build中的System.Reflection.Assembly.GetTypes()[0x00000]中-root /单声道86 / MCS /类/ corlib /的System.Reflection / Assembly.cs:405 在System.Web.Mvc.TypeCacheUtil.FilterTypesInAssemblies(System.Web.Mvc.IBuildManager buildManager,System.Predicate
1[T] predicate) [0x00033] in <cc73190bab9d435c831510ff295c572a>:0 at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies (System.String cacheName, System.Predicate
1 [T]谓词,System.Web.Mvc.IBuildManager buildManager)[0x00015] in:0 在System.Web.Mvc.ControllerTypeCache.EnsureInitialized(System.Web.Mvc.IBuildManager buildManager)[0x0002b] in:0 在System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(System.Web.Routing.RouteBase route,System.String controllerName,System.Collections.Generic.HashSet`1 [T] namespaces)[0x0000c] in:0 在System.Web.Mvc.DefaultControllerFactory.GetControllerType(System.Web.Routing.RequestContext requestContext,System.String controllerName)[0x0010a] in:0 在System.Web.Mvc.DefaultControllerFactory.System.Web.Mvc.IControllerFactory.GetControllerSessionBehavior(System.Web.Routing.RequestContext requestContext,System.String controllerName)[0x00026] in:0 在System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(System.Web.Routing.RequestContext requestContext)[0x00043] in:0 在System.Web.Mvc.MvcRouteHandler.GetHttpHandler(System.Web.Routing.RequestContext requestContext)[0x00006] in:0 在System.Web.Mvc.MvcRouteHandler.System.Web.Routing.IRouteHandler.GetHttpHandler(System.Web.Routing.RequestContext requestContext)[0x00000] in:0 在System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(System.Web.HttpContextBase上下文)[0x00060]在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles /mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/System.Web/Routing/UrlRoutingModule.cs:85 在System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(System.Object的发件人,发送System.EventArgs)[0x00013]在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch- c8sr0 /简档/单MAC-xamarin /建立根/单声道86 / MCS /类/ referencesource / System.Web程序/路由/ UrlRoutingModule.cs:48 在System.Web.HttpApplication + c__Iterator0.MoveNext()[0x001ba]在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin /build-root/mono-x86/mcs/class/System.Web/System.Web/HttpApplication.cs:1030 在System.Web.HttpApplication + c__Iterator1.MoveNext()[0x006f3]在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin /build-root/mono-x86/mcs/class/System.Web/System.Web/HttpApplication.cs:1238 在/private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin/build中的System.Web.HttpApplication.Tick()[0x00000] -root / mono-x86 / mcs / class / System.Web / System.Web / HttpApplication.cs:927