G
Guest
The CLR loader does not check version numbers when loading a referenced private assembly, at least this is wha
Microsoft claims (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials/html/Binding_Policy.asp)
However, I am experiencing a strange behaviour:
I deploy all my assemblies in a private path
In my initial deployment assembly A(version 6.0.0.1) references assembly B(version 6.0.0.1) and everything works fine
If I deploy assembly B(version 7.0.0.1) without rebuilding assembly A, I get a TypeLoadException
This is even stranger
Assembly A(version 6.0.0.1) also references private assembly C(version 1.0.0.1)
If I deploy assembly C(version 1.1.0.1) without rebuilding assembly A, I also get a TypeLoadException
So, does the CLR loader check version numbers or not; How can I override this behaviour (bindingRedirect will not work because these are private assemblies)
Thanks in advance
Microsoft claims (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials/html/Binding_Policy.asp)
However, I am experiencing a strange behaviour:
I deploy all my assemblies in a private path
In my initial deployment assembly A(version 6.0.0.1) references assembly B(version 6.0.0.1) and everything works fine
If I deploy assembly B(version 7.0.0.1) without rebuilding assembly A, I get a TypeLoadException
This is even stranger
Assembly A(version 6.0.0.1) also references private assembly C(version 1.0.0.1)
If I deploy assembly C(version 1.1.0.1) without rebuilding assembly A, I also get a TypeLoadException
So, does the CLR loader check version numbers or not; How can I override this behaviour (bindingRedirect will not work because these are private assemblies)
Thanks in advance