Cannot import the following key file fix
This one has caused me a few hours of pain….a couple of times. It is about time I document how I fixed it.
The Error:
Cannot import the following key file:
The Fix:
-
Open Visual Studio Command Prompt (It can be found in the Windows Start menu)
-
Type sn -i "c:\Pathtofile<filename>.pfx" TVS_KEY_ E2AEBF22AB52DD08
-
Reimport the pfx file into Visual Studio
The sn.exe with the –i parameter, installs a key pair from