Article ID: 922320 - View products that this article applies to.
Consider the following scenario. In Microsoft Visual Studio 2005, you create a Microsoft Visual C++ common language runtime (CLR) class library project. You use one or more of the CLR attributes to sign the assembly. For example, you use the AssemblyKeyFile CLR attribute. You try to install the assembly in the global assembly cache. In this scenario, you receive the following error message:
Failure adding assembly to the cache: Strong name signature could not be verified. Was the assembly built delay-signed?
This problem occurs because using CLR attributes to sign a Visual C++ assembly is not supported.
To resolve this problem, use Visual Studio 2005 linker options to sign Visual C++ assemblies. The following linker options control signing for Visual C++ assemblies:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Article ID: 922320 - Last Review: August 4, 2006 - Revision: 1.0
Contact us for more help