C
clinton
I have an VB.Net application that makes use of an assembly in the GAC.
Dont ask me why but i rebuilt the assembly (did not need to as made no
real changes. just tidied up some comments) Anyway once i did this it
must have created a new publickeytoken as my application is now
refusing to use the assembly in the gac. looks like it is expecting a
different publickeytoken. If i put the newly compiled dll in the GAC
all works well. I then have 2 assemblies in the GAC with the same name
AND version but different publickeytoken. the old one is no longer used
and the app uses the new one. the publickeytoken is the only
difference.
However to avoid a rollout of installing the new dll into the GAC on
400 PC's i was wondering if there is a way i can tell my application to
use the first assembly in the GAC (as no real change occured in the new
compile). I can remove the new compile from the GAC and simply tell my
app to use the original one. the difference here is the versions are
the same (as i have that set in my app.config file of the assembly)
ONLY the PublicKeyToken is different.
Not sure if this is possibly but thoughht i would ask. If it is not
possible, is the possible to have a poilcy created to install the new
file in the GAC (i.e the easiest way to install it on the 400 PC's
WITHOUT redoing the msi installer
Dont ask me why but i rebuilt the assembly (did not need to as made no
real changes. just tidied up some comments) Anyway once i did this it
must have created a new publickeytoken as my application is now
refusing to use the assembly in the gac. looks like it is expecting a
different publickeytoken. If i put the newly compiled dll in the GAC
all works well. I then have 2 assemblies in the GAC with the same name
AND version but different publickeytoken. the old one is no longer used
and the app uses the new one. the publickeytoken is the only
difference.
However to avoid a rollout of installing the new dll into the GAC on
400 PC's i was wondering if there is a way i can tell my application to
use the first assembly in the GAC (as no real change occured in the new
compile). I can remove the new compile from the GAC and simply tell my
app to use the original one. the difference here is the versions are
the same (as i have that set in my app.config file of the assembly)
ONLY the PublicKeyToken is different.
Not sure if this is possibly but thoughht i would ask. If it is not
possible, is the possible to have a poilcy created to install the new
file in the GAC (i.e the easiest way to install it on the 400 PC's
WITHOUT redoing the msi installer