18th
September
2007
GacUtil and 64-bits
posted in Technology, Developers |Another stupid mistake I just made. I’ve been developing some 64-bit .NET code and was trying to call gacutil to register some DLLs. I kept getting the error message-
“Failure adding assembly to the cache: Strong name signature could not be verified. Was the assembly built delay-signed?”
It turns out I was trying to run a 32-bit version of GacUtil on a 64-bit assembly. The error message was unhelpful, but switching to the 64-bit Gacutil solved the problem right away.