How to notify the Applictaion abt the New version of DLL

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.
 
M

Mattias Sjögren

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
 
G

Guest

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

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top