System.TypeLoadException:加载类型时发生故障

时间:2017-01-27 12:08:27

标签: c# mono owin appdomain

我试图在ubuntu上运行我的windows owin自托管服务,单声道安装完成.Code在Windows上完美运行但是当我试图在ubuntu上运行时,我得到以下异常。

System.TypeLoadException: Failure has occurred while loading a type.
  at LauncherServerContext.StartAction (Owin.IAppBuilder app) [0x0018b] in <5987da0293b04bdcb223a6c06c5c20de>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x000dc] in <f9c6a24237684643b127a582774aa6dc>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00059] in <f9c6a24237684643b127a582774aa6dc>:0 
  at Microsoft.Owin.Hosting.WebApp.StartImplementation (System.IServiceProvider services, Microsoft.Owin.Hosting.StartOptions options, System.Action`1[T] startup) [0x0008a] in <f9c6a24237684643b127a582774aa6dc>:0 
  at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions options, System.Action`1[T] startup) [0x00006] in <f9c6a24237684643b127a582774aa6dc>:0 
  at Microsoft.Owin.Hosting.WebApp.Start (System.String url, System.Action`1[T] startup) [0x00006] in <f9c6a24237684643b127a582774aa6dc>:0

注意 - 这里我在appdomain中运行exe。

请建议。

0 个答案:

没有答案