Visual Studio报告错误“ PFX-导入密钥/对象已存在错误” [英] Visual Studio reporting error "PFX - Error Importing Key / Object already exists"
本文介绍了Visual Studio报告错误“ PFX-导入密钥/对象已存在错误”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个 Visual Studio 2008 ClickOnce 我尝试在打开 Sign Manifest的情况下进行编译的解决方案。
I have a Visual Studio 2008 ClickOnce solution that I am attempting to compile with "Sign Manifest" turned on.
选中此选项,提示我输入PFX文件密码,并在输入正确的密码后收到错误消息:
With this option checked, I am prompted for my PFX files password, and upon entering the correct password I receive the error:
导入密钥时出错 /对象已存在。
"Error Importing Key" / "Object already exists".
我确定我已经清理了一些东西。我尝试运行以下命令无济于事。
I'm sure I've hosed something. I've tried to run the following to no avail.
CERTUTIL -importPFX -user <pfxname>.pfx AT_SIGNATURE
推荐答案
我遇到了同样的问题。通过以管理员身份运行启动Visual Studio解决了该问题。
I had the same problem. Starting Visual Studio with 'Run as Administrator' solved the issue.
这篇关于Visual Studio报告错误“ PFX-导入密钥/对象已存在错误”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文