I know very well this error as I faced it and solved it thanks to this SO post.
The sn -i keyName.pfx VS_KEY_XXXXXXXXXXXXX ran from a Visual studio devel
sn -i keyName.pfx VS_KEY_XXXXXXXXXXXXX