Failure adding assembly to GAC

  • Thread starter Thread starter V. Srinivas
  • Start date Start date
V

V. Srinivas

Hi,

I tried to install my strong named assembly to GAC. But I get the
following error message -
1. If I drag and drop the assembly to GAC using windows explorer
---------------------------
The check of the signature failed for assembly 'MyUtils.dll'.
---------------------------
OK
---------------------------

2. If I use gacutil.exe to install the assembly to GAC -
---------------------------
Microsoft (R) .NET Global Assembly Cache Utility. Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Failure adding assembly to the cache: Strong name signature could not
be verifie
d. Was the assembly built delay-signed?
---------------------------

Can anybody help me understand what could be wrong? The assembly has
the AssemblyDelaySign attribute set to false.

Thanks and Regards,
Srinivas.
 
Make sure your strong naming before adding it to the GAC.
sn -Vr YourAssemble.dll
To add to the GAC....
GacUtil -if YourAssembly.dll
 
Back
Top