How to notify the Applictaion abt the New version of DLL

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In .Net suppose I have a core component (some Business rule) it's version is
1 And it's deployed in GAC

That component was used By two Application ( A and B) ...

Now I again change the core Component and now it's version is 2 and it' s
also deployed in GAC ...

So now two version of the core Component is there in GAC



Now Is there is Any way to tell the Application A alone should use Version 2
of the Component without compiling it again.
 
Now Is there is Any way to tell the Application A alone should use Version 2
of the Component without compiling it again.

Yes, look for bindingRedirect in the docs.



Mattias
 
it's very use ful mattiss.Thanks fo rur guidance.
Can u say me how how it's diffrent from probing element ....
 
Can u say me how how it's diffrent from probing element ....

<probing> specifies subdirectories in which the runtime should look
for assemblies.

<bindingRedirect> redirects references to a certain version (or range
of versions) of an assembly to another version.




Mattias
 
Back
Top