2014-09-24 7 views
0

우분투 12.04에서 MonoDevelop 5.0.1 및 XSP4를 사용하기 시작했습니다. XSP4를 실행하면이 오류가 발생합니다. 우분투 소프트웨어에서 Monodevelop를 설치합니다. 실행중인 but.I 실행하고 싶습니다. ASP.Net MVC3 응용 프로그램. AnyBody는이 오류를 알고 있습니까?우분투에서 실행되지 않는 XSP4 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 

답변

0

예, 동일한 메시지가 있습니다 (Monodevelop 5.0.1로 Linux 계산).
어셈블리를 찾으려면 도움을 받아야합니다.
Either 장소 "gacutil -i"또는 (당신은 그냥 내장 된 경우가 ./bin/Debug 아래) 진 xsp4의 디렉토리에

ln -s . ./bin 

와 bin 폴더에 대한 심볼릭 링크를 만들와 GAC에 어셈블리 .
1) 환경 변수로 실행 MONO_LOG_LEVEL = 정보와 MONO_LOG_MASK = ASM 세트, 예를 들면 :

은 깊은 당신이 instead of using fuslogvw이 작업을 수행 할 수 있습니다 이해하기

어셈블리 검색 및 관련 논리가 stdout에 인쇄됩니다.
2) 자세한 내용은 mono (1) 매뉴얼 페이지를 참조하십시오.