471,310 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

GAC versioning issues

Hi there,

I have a problem with an assembly deployed in GAC. First of all, a
little scenario description:

We develop (small) WEB apps that use an assembly for connecting with
our databases. This assembly has evolved from 1.1 to 1.3 version.

The problem:
I've installed the two assemblies in GAC, apparently without problems,
because version label is different but PublicKeyToken is the SAME for
both.

The point is that the Runtime seems to see no difference between them
because in an application which uses both (in differente projects)
there is an error when trying to invoke a method present in the older
but not in the new one. The exception is System.MissingMethodException
because is trying to look for the method in the new assembly (1.3)
when this invocation is made in the project which references (in
VS.NET) the previous version (1.1) which HAS the method.

As I say references seem to be okay, in fact when coding VS.NET's
Intellisense see the difference between both assemblies but for GAC is
the same!!! Even when the version number is different!!!

What am I doing wrong? Maybe having the same PublicKeyToken?

Thanks a lot in advance for any help!!!

Juan de Ituarte
Jul 21 '05 #1
0 912

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Alex Stevens | last post: by
2 posts views Thread by PatrickSA | last post: by
3 posts views Thread by Alex Stevens | last post: by
3 posts views Thread by Alex Stevens | last post: by
2 posts views Thread by PatrickSA | last post: by

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.