Hi.
Im trying to load an assembly(In code), and get a type from it.
I do it in this way:
AppDomain.CurrentDomain.Load(serviceassembly.GetName);
host = New ServiceHost(Type.GetType(node.Attributes("name").InnerText,True, True));
But the last line, throws me this exception:
System.TypeLoadException was unhandled
Message="Could not load type Service.Service1' from assembly Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'."
Anyone ever encountered this? Or can see what im doing wrong?
Cheers
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.