Reputation: 2517
If I use Assembly Binding Redirection to redirect my v1.0 referenced assembly to a v1.1 assembly, can I use reflection APIs to:
While keeping reference to the v1.0 assembly?
Upvotes: 1
Views: 31
Reputation: 21855
Mmmm, I'm not sure if this makes sense.
You could do what you say but you would need to know the class names and methods available at 1.1 while coding against the 1.0 version so you why not to change to the 1.1 references?
You can create instances with name using the Activatior.CreateInstance().
Upvotes: 1