c# - Assembly built using ver. 1.1, still looking for 1.0 at runtime -


i have 2 assemblies have built, assembly a references assembly b. both work fine when both version 1.0.

but whenever want update assemblies, increment assembly b 1.1 , build dll. change project/assembly a reference 1.1 version of assembly b. builds fine. when go run application invokes assembly a (which in turn invokes assembly b) getting runtime error saying version 1.0 of assembly b cannot found.

i hope i've made myself clear enough, it's not easy explain...

enter image description here

well, somewhere wants 1.0; best bet trawl through trying find still referencing 1.0, , fix that. however, if happy api forwards compatible, can fix in configuration, via <bindingredirect> 1.0.0.0 1.1.0.0 (or whatever version is). see msdn: http://msdn.microsoft.com/en-us/library/eftw1fys(v=vs.110).aspx


Comments