jumpinjackie
jumpinjackie

Reputation: 2517

Accessing newer APIs in a redirected assembly

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

Answers (1)

Ignacio Soler Garcia
Ignacio Soler Garcia

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

Related Questions