我开始在ubuntu12.04上使用MonoDevelop 5.0.1和XSP4,当我试图运行XSP4时,请告诉我这个错误,我安装了从ubuntu软件center.its运行的Monodevelop,但是。我想运行ASP.Net MVC3应用程序。AnyBody知道这个错误吗?
Handling exception type FileNotFoundException
Message is Could not load file or assembly 'xsp4, 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 'xsp4, 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) [0x00000] in <filename unknown>:0
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) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'xsp4, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
File name: 'xsp4, 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) [0x00000] in <filename unknown>:0
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) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0 发布于 2014-10-19 12:34:07
是的,我收到了相同的消息(在使用MonoDevelopment5.0.1计算Linux时)。
您应该帮助它定位程序集。
任一使用"gacutil -i“将程序集放置到GAC中,或使用
ln -s . ./bin在xsp4二进制文件目录中(如果您刚刚构建它,它位于./bin/Debug下面)。
为了更深入地理解它,您可以而不是使用fuslogvw这样做:
1)使用环境变量MONO_LOG_LEVEL=info和MONO_LOG_MASK=asm集合运行。
MONO_LOG_LEVEL=info MONO_LOG_MASK=asm mono yourapp.exe程序集探测和相关逻辑将打印到标准输出中。
2)有关更多信息,请参见mono(1)手册页。
https://stackoverflow.com/questions/26018976
复制相似问题