M
Mujtaba Syed
I am trying out some code to create an ASP.NET 2.0 application host. The
following two classes are in the same assembly, HostingDemo.exe:
class Program
{
public static void Main ()
{
Host host = (Host) ApplicationHost.CreateApplicationHost (typeof
(Host), "/", Directory.GetCurrentDirectory ()); // RTE
host.ProcessRequest (...);
}
}
class Host : MarshalByRefObject
{
public void ProcessRequest (...) { //... }
}
I get a runtime exception of type FileNotFound. It says that it could not
find/load the assembly HostingDemo.exe!
Any clues why it's happening?
Thanks,
Mujtaba.
following two classes are in the same assembly, HostingDemo.exe:
class Program
{
public static void Main ()
{
Host host = (Host) ApplicationHost.CreateApplicationHost (typeof
(Host), "/", Directory.GetCurrentDirectory ()); // RTE
host.ProcessRequest (...);
}
}
class Host : MarshalByRefObject
{
public void ProcessRequest (...) { //... }
}
I get a runtime exception of type FileNotFound. It says that it could not
find/load the assembly HostingDemo.exe!
Any clues why it's happening?
Thanks,
Mujtaba.