[Mono-dev] CreateInstanceAndUnwrap crashing
Justin Tulloss
tulloss2 at uiuc.edu
Thu Dec 21 19:14:43 EST 2006
On 12/21/06, Robert Jordan <robertj at gmx.net> wrote:
> Justin Tulloss wrote:
> > I recompiled it
> > successfully and got further, but every example dies in
>
> "Die" is pretty vague, at least in this context.
> Please post the exception/error message you got.
>
It's an unhandled file-not-found exception. The error and the
backtrace are below:
Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'SimpleHost, Version=1.0.2546.29423, Culture=neutral'
or one of its dependencies. The system cannot find the file specified.
File name: 'SimpleHost, Version=1.0.2546.29423, Culture=neutral'
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]
at SimpleHost.Program.Main (System.String[] args) [0x00000]
> > CreateInstanceAndUnwrap. The specific call that eventually causes all
> > this is:
> > HttpListenerWrapper lw =
> > (HttpListenerWrapper)ApplicationHost.CreateApplicationHost(
> > typeof(HttpListenerWrapper), "/",
> > Directory.GetCurrentDirectory());
More information about the Mono-devel-list
mailing list