I am trying to create a class library which will be used in different projects
Example:
I am creating math.dll which uses add.dll(v2), subtract.dll(v2).
The math.dll will be used by other projects which might already be using add.dll and subtract.dll which again can be any version lower or higher. (add.dll - v1, subtract.dll - v3)
One resolution to avoid any issues is to add binding redirects in web.config to use the version that the project already has.
Is there a way to avoid issues without binding redirects? (i have 10+ dll references in my class library project and i might add more). I don’t want other projects consuming my dll to add all the binding redirects.
Is it possible for my dll to use dlls (add/subtract) from the project that's consuming it?
Is there a way i can copy over my dependency dlls (add.dll - v2/ subtract -v2) to a folder in the consuming project and refer it from there and not from what the consuming project already has?
Thanks for your help!