Load Assembly given a namespace
-
If i have a Namespace as a string is there are any framework support to find the assembly file with the most closely matching name. For example: If i have the assemblies x.DLL and X.Y.DLL. Then given the Namespace string 'X.Y.Z' - the 'X.Y.DLL' would be adopted. Thanks
-
If i have a Namespace as a string is there are any framework support to find the assembly file with the most closely matching name. For example: If i have the assemblies x.DLL and X.Y.DLL. Then given the Namespace string 'X.Y.Z' - the 'X.Y.DLL' would be adopted. Thanks
Nope. You'd have to build this yourself. It shouldn't be too hard. From your description, it could be done just by getting filenames from a search of a directory structure and comparing themn to the search key using a RegEx.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007