Cryptographiques échec lors de la signature de l'assemblée dans Visual studio

Je ne sais pas où je suis allé mal. Quand je construis il cherche le chemin d'accès par défaut pour la DLL à la signer. Bien que j'ai spécifié le chemin d'accès.

J'ai créé et stocké mes .fichier snk dans le même emplacement que la DLL.

//Assembly info file for errorcollection

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

//General Information about an assembly is controlled through the following 
//set of attributes. Change these attribute values to modify the information
//associated with an assembly.
[assembly: AssemblyTitle("ErrorCollection")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ErrorCollection")]
[assembly: AssemblyCopyright("Copyright ©  2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

//Setting ComVisible to false makes the types in this assembly not visible 
//to COM components.  If you need to access a type in this assembly from 
//COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

//The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2c17131b-0ae3-4146-a797-308f5958e819")]

//Version information for an assembly consists of the following four values:
//
//     Major Version
//     Minor Version 
//     Build Number
//     Revision
//
//You can specify all the values or you can default the Build and Revision Numbers 
//by using the '*' as shown below:
//[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: System.Reflection.AssemblyKeyFile(@"D:\Services\bin\ErrorCollection.snk")]

J'obtiens l'erreur suivante:

"Cryptographiques échec lors de la signature de l'assemblée 'D:\Services\ErrorCollection\obj\Debug\ErrorCollection.dll' -- 'Erreur de lecture du fichier de clé 'D:\Services\bin\ErrorCollection.snk' -- Le système ne peut pas trouver le fichier spécifié. 'ErrorCollection"

Est le snk fait dans D:\Services\bin\ErrorCollection.snk ?
oui j'ai vu ça. il se trouve exactement là où j'ai précisé.
Est-il une explication quant à la raison pour laquelle cette question a été fermé? De sorte que j'ai une idée de ce pas à la poste.

OriginalL'auteur Niranjan Thangaiya | 2010-11-21