Social Icons

twitter google plus linkedin rss feed

Pages

17.9.12

Cannot import the following key file error in VS2012

I don’t know if this works as well in VS2010 or 2008 but in VS2012 is really easy to add the key to the pfx file.

If you are getting the infamous error:
Cannot import the following key file: <FileName>.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_<A Key>

You can solve it easily by:

Clicking properties in the project that contains the file that is causing the issue.

image

Then going to "Signing" and select again the file. You will be prompted for the password.

image

Enter the password and you are done.

No comments:

Post a Comment