Failure adding assembly to GAC

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.
 
V

vinaya bhushana Gattam reddy

Make sure your strong naming before adding it to the GAC.
sn -Vr YourAssemble.dll
To add to the GAC....
GacUtil -if YourAssembly.dll
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top