R
Rick Lemons
Can anyone tell me what's wrong with the following CreateInstance? It
returns null. The Assembly.LoadFrom works OK.
Assembly assembly = Assembly.LoadFrom("MyDll.dll");
object functionObject = assembly.CreateInstance("MyNamespace.MyClass");
MyDll looks like:
namespace MyNamespace
{
public class MyClass
{
public MyClass()
{
}
}
}
Thank you.
returns null. The Assembly.LoadFrom works OK.
Assembly assembly = Assembly.LoadFrom("MyDll.dll");
object functionObject = assembly.CreateInstance("MyNamespace.MyClass");
MyDll looks like:
namespace MyNamespace
{
public class MyClass
{
public MyClass()
{
}
}
}
Thank you.