Addind a Strong Name Key file to an existing project .
Whilst trying to add a Strong Name Key file (.snk) to an existing Visual Studio 2008 project I came across this error – Unable to find manifest certificate in the certificate store. Since this was the first time that I had tried adding a key file to the project I couldnt understand why it wasn’t letting me do it? It turns out that someone else had previously been experimenting with Signed Assemblies and there were some entries in the .csproj file that were left over:
<manifestcertificatethumbprint>…</manifestcertificatethumbprint>
<manifestkeyfile>…</manifestkeyfile>
<generatemanifests>…</generatemanifests>
<signmanifests>…</signmanifests>
<manifestkeyfile>…</manifestkeyfile>
<generatemanifests>…</generatemanifests>
<signmanifests>…</signmanifests>
After I removed these lines and reloaded the project within Visual Studio I was able to add my Strong Name Key file without any further issues.