System.IssingMethodException: Methode nicht gefunden: System.iserviceProvider in Linux MonoC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 System.IssingMethodException: Methode nicht gefunden: System.iserviceProvider in Linux Mono

Post by Anonymous »

Ich versuche zu sehen, ob wir unsere .NET Framework 4.8 ASP.NET -Webformulare -Anwendung unter Linux unter Mono erhalten können. Ich habe Mono (komplett) v6.12 auf einem Oracle Linux 8 VM installiert, aber diese Ausnahme wird beim Ausführen ausgelöst und kann nicht herausfinden, warum. Das Projekt enthält .NET Standard 2.0 -Bibliotheken und Entity Framework Core 3.1 (erneut in einer enthaltenen Projektbibliothek). < /P>

Code: Select all

System.MissingMethodException: Method not found: System.IServiceProvider System.Web.HttpRuntime.get_WebObjectActivator()
at ASP.baselayout_master.__BuildControl__control3 () [0x0000b] in :0
at ASP.baselayout_master.__BuildControlTree (ASP.baselayout_master __ctrl) [0x0000f] in :0
at ASP.baselayout_master.FrameworkInitialize () [0x00006] in :0
at System.Web.UI.UserControl.InitializeAsUserControlInternal () [0x00016] in :0
at System.Web.UI.MasterPage.CreateMasterPage (System.Web.UI.TemplateControl owner, System.Web.HttpContext context, System.String masterPageFile, System.Collections.IDictionarycontentTemplateCollection) [0x000b8] in :0
at System.Web.UI.Page.get_Master () [0x00027] in :0
at System.Web.UI.Page.ApplyMasterPage () [0x00016] in :0
at System.Web.UI.Page.InternalProcessRequest () [0x00128] in :0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in :0
Irgendwelche Ideen, was das Problem ist oder wie man es "beheben"?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post