PDA

View Full Version : Spring.Core.dll (rc2) doesn´t install in GAC


carlosjac
02-15-2005, 09:21 PM
I've attempted to register Spring.Core.dll (rc2) in GAC. I've got an error message as:

error in verification of signature for assembly ...

What's the problem?

Carlos

Mark Pollack
02-17-2005, 03:38 AM
Hi Carlos,

Doh! I built the assembly delay-signed and never actually signed it! If you trust us... please execute the following


sn -Vr *,65e474d141e25e07


to skip assembly verification. You should then be able to install it into the GAC via gacutil /i Spring.Core.dll

Sorry about that, it will be fixed for the next release. If you need a true strongly-named assembly asap, ping me and I'll help you out.

Cheers,
Mark

jonas_antonsson
02-17-2005, 11:42 AM
Hi Mark.

I forgot to mention this to you (sorry) 'cause I saw this "flaw" when I switched RC1 for RC2 last week. It sorta slipped my mind that I had to change the assemblyinfo thus:

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]

I then recompiled the solution. I had no need of a signed assembly at the time (but I will need to sign it sooner or later ;) )

Anyways - Sorry for not helping you solve this sooner.