Visual Studio 2010 (VS2010) – Project Conversion Errors


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.

Advertisements

2 thoughts on “Visual Studio 2010 (VS2010) – Project Conversion Errors

  1. Pingback: Fix Tf31002 Visual Studio 2010 Error Windows XP, Vista, 7, 8 [Solved]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s