Shared Assembly versions...

G

Guest

I have written an assemly (MyLib.dll) and this is stong named and installed
in GAC. My web application (MyWeb.dll) is refrencing MyLib.dll and it is
using it. Whenever I modify (without changing any funcation signature or
removing functions) and build myLib.dll its revision number is changing (as
expected like 1.0.0.100 to 1.0.0.101 etc.. ). And I uninstall the old
assembly that is there in GAC and install the new on in GAC. But when I try
to access the web application (MyWeb) I always get an error

System.IO.FileLoadException: The located assembly's manifest definition with
name 'MyLib' does not match the assembly reference.

This error goes away if I just simply recompile the web applicaiton. SO how
to make my web application to use the latest version of assembly (MyLib.dll)

Please help.
Thanks
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top