XSP4不能在ubuntu上运行12.04

问题描述:

我开始在ubuntu 12.04上使用MonoDevelop 5.0.1和XSP4,当我尝试运行XSP4时给我这个错误 我从ubuntu软件中心安装Monodevelop,但运行but.I想运行ASP.Net MVC3应用程序。 AnyBody知道这个错误?XSP4不能在ubuntu上运行12.04

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 

是的,我有相同的消息(在计算Linux与Monodevelop 5.0.1)。
你应该帮助它找到组件。
Either地方组装成GAC与“GACUTIL -i”或在xsp4二进制(它是./bin/Debug下,如果你只是建立了它)的目录作出bin文件夹的符号链接与

ln -s . ./bin 

了解它更深一些,你可以instead of using fuslogvw做到这一点:
1)环境变量运行MONO_LOG_LEVEL =信息和 MONO_LOG_MASK =汇编集,例如

MONO_LOG_LEVEL=info MONO_LOG_MASK=asm mono yourapp.exe 

装配探测和相关逻辑将打印到标准输出。
2)有关更多信息,请参见mono(1)手册页。