D
D Yee
Hello,
Can someone explain the following:
I'm trying to use Type.GetType that takes a string parameter which specifies
the type and assembly. For example:
Type t = Type.GetType("System.Drawing.Point, System.Drawing");
My issue is that unless I have System.Drawing.dll in the same directory as
my app, this call fails. I did a gacview to confirm that System.Drawing is
in the GAC. Why cant System.Drawing be loaded from the GAC?
I have similar issues doing:
Activator.CreateInstance("System.Drawing", "System.Drawing.Point")
This call only works if System.Drawing is in the same directory as my app -
it cant get loaded from the GAC
Can someone explain the following:
I'm trying to use Type.GetType that takes a string parameter which specifies
the type and assembly. For example:
Type t = Type.GetType("System.Drawing.Point, System.Drawing");
My issue is that unless I have System.Drawing.dll in the same directory as
my app, this call fails. I did a gacview to confirm that System.Drawing is
in the GAC. Why cant System.Drawing be loaded from the GAC?
I have similar issues doing:
Activator.CreateInstance("System.Drawing", "System.Drawing.Point")
This call only works if System.Drawing is in the same directory as my app -
it cant get loaded from the GAC