I recently converted existing solution using VS2008 to VS2010 successfully but during the recompilation I’ve encountered two errors.
Error# 1:
Cannot import the following key file: {keyFile.pfx}. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_B652311015D642D5
Solution:
– Open command prompt and go to location of pfx file then type:
sn -i {keyFile.pfx} {VS_KEY} //Ex: sn -i rpaulo.pfx VS_KEY_B652311015D642D5
Error# 2:
The KeyContainer path ‘VS_KEY_B652311015D642D5’ is invalid. KeyContainer must point to an existing file.
Solution:
In the folder wherein your project (.csproj) is located create an empty file with fileName = missing VS_KEY.
Like this:
Like Loading...