Re: Forcing an application to load assemblies from a specific path
Peter Ritchie <[email protected]> Tue, 26 May 2009 10:21:25 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Agreed. Just because the 3rd party code may be reflecting soley by method name (which will work if there are no overloads) does not make adding an overload a breaking change. For example, they're looking for trouble with code like this:
methodInfo =
typeof (FrameworkClass).GetMethod("Method", BindingFlags.Instance | BindingFlags.Public);
They should have something more like this:
methodInfo =
typeof (FrameworkClass).GetMethod("Method", BindingFlags.Instance | BindingFlags.Public, null, new Type[] {}, null);
There's all sorts of good reasons to reflect on types that could be staticall linked...
Can you detail what 3rd party application this is, so we can avoid using it?
-- Peter
===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives