0

MonoDevelop 5.0.1 と XSP4 を ubuntu 12.04 で使い始めました。XSP4 を実行しようとすると、このエラーが表示されます。Monodevelop を ubuntu ソフトウェア センターからインストールします。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 
4

1 に答える 1

0

はい、同じメッセージが表示されました(Monodevelop 5.0.1を使用したCalculate Linuxで)。
アセンブリを見つけるのを手伝う必要があります。
「 gacutil -i」を使用してアセンブリを GAC に配置するか、bin フォルダーのシンボリック リンクを作成します。

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

アセンブリのプローブと関連するロジックが stdout に出力されます。
2) 詳細については、mono(1) の man ページを参照してください。

于 2014-10-19T12:34:07.370 に答える