|
-
January 10th, 2008, 12:09 PM
#1
Reflection: Type.GetType(string) but different Assembly
Hi!
I've got a string representing the full name of a class ("Blah.Muh.Thing" for example). For getting it's type I normally would now use Type.GetType(string). But the class isn't in the calling Assembly. It's in a DLL used by my application. So I have to use Assembly.GetType(string) first. BUT that only works when I know the Assembly. Now my question:
What do I have to do if I want to load the type from a string if I don't know from which Assembly it comes from?
[C#/.NET2.0/VS 2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|