Programmer76
Programmer
Hi,
I am having a difficult time with referencing a dll in the GAC. I have signed and deployed the dll to the GAC and I can see it in there.
What I would like to do is create and instance of the class that is inside the dll.
During developing I have just had a refernce to the dll in my project and I was using the following code to create an instance
This worked fine...
How do I create an instance of an object that is in the GAC...I have seen many examples but nothing seems to work...
Any suggestions?
I am having a difficult time with referencing a dll in the GAC. I have signed and deployed the dll to the GAC and I can see it in there.
What I would like to do is create and instance of the class that is inside the dll.
During developing I have just had a refernce to the dll in my project and I was using the following code to create an instance
Code:
Type t = Type.GetType("MyNamespace.MyClass");
IMyClass a = (IMyClass)Activator.CreateInstance(t);
This worked fine...
How do I create an instance of an object that is in the GAC...I have seen many examples but nothing seems to work...
Any suggestions?