473,322 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Shared Assembly versions...

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

Nov 19 '05 #1
0 853

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bill | last post by:
I created a shared assemble and dropped it into Windows\assembly. Browsing this directory shows that it is in there and the properties looks as expected. However, when I attempt to add this as a...
1
by: Dan | last post by:
Here's a scenario I'd like to discuss in order to setup my VS.NET IDE properly and be able to prepare a distribution: a) I have a windows forms C# app using 3 shared assemblies I developed to...
9
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and...
2
by: CK | last post by:
Good Morning All, What the best way to use references? Reference a project in another project or reference a DLL. We are developing C# Sharp Web Apps in VS 2003. We are getting warnings like the...
5
by: Laurence | last post by:
In VS.2005 using VB.NET There are two versions on every project, The Assembly Version and the File Version. Why are there two different versions? As far as I can tell, there is not need for...
2
by: Tony Johansson | last post by:
Hello! In directory c:\window\assembly(GAC) can you find a lot of global assembly names which is called shared assemblies. If I for example use ILDASM on a file called Accessibility which is...
7
by: tony | last post by:
Hello! Can somebody tell me exactly when do I use GAC where shared assembly dll is stored. //Tony
3
by: vittu | last post by:
Hi This is vittal,i want some information -------------------------------------------------------- -----shared assemly contining multiple versions, 1. i want to stop one versions in this...
16
by: MA | last post by:
Hi, We have added a shared assembly in GAC so that our multiple solutions can use use it. We use the publisher policy to controls the different versions of the assembly. This shared assembly...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.