[Mono-dev] .exe referencing itself ...

etienne.champetier at free.fr etienne.champetier at free.fr
Thu Apr 10 11:59:26 UTC 2014


Hi

I'm strugling with HyperFastCgi.

When i launch it (Mono.WebServer.HyperFastCgi.exe), i have:
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.WebServer.HyperFastCgi, Version=1.0.5213.24878, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Mono.WebServer.HyperFastCgi, Version=1.0.5213.24878, Culture=neutral, PublicKeyToken=null'
  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, System.Type applicationHostType) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.HyperFastCgi.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.WebServer.HyperFastCgi, Version=1.0.5213.24878, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Mono.WebServer.HyperFastCgi, Version=1.0.5213.24878, Culture=neutral, PublicKeyToken=null'
  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, System.Type applicationHostType) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.HyperFastCgi.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 


It's looking for itself ...
If I put it in the gac, it works, but is there a way to not put it in the gac?

I'm building it with "xbuild /p:Configuration=Release /target:rebuild",
but it's the same with the Makefile (make install install it in the gac)

Thanks in advance
Etienne


More information about the Mono-devel-list mailing list