0
我克隆了mono
xsp
項目:https://github.com/mono/xsp.git
並在單聲道開發中構建了xsp,但我無法運行它。我在IDE或命令行中遇到同樣的錯誤。我的最終目標是在調試xsp
時運行我的網站。我該如何解決這個錯誤?如何在使用我的MVC應用程序進行monodevelop時調試XSP?
Handling exception type FileNotFoundException
Message is Could not load file or assembly 'Mono.WebServer.XSP, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
IsTerminating is set to True
Could not load file or assembly 'Mono.WebServer.XSP, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x0031f] in /builddir/build/BUILD/mono-4.0.1/mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs:242
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) [0x0020e] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:166
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) [0x00036] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:75
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00002] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:66
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.WebServer.XSP, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
File name: 'Mono.WebServer.XSP, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x0031f] in /builddir/build/BUILD/mono-4.0.1/mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs:242
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) [0x0020e] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:166
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) [0x00036] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:75
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00002] in /home/myuser/Downloads/git/xsp/src/Mono.WebServer.XSP/main.cs:66