签名时出错:Visual Studio 2015中的参数不正确 [英] An error occurred while signing: The parameter is incorrect in Visual Studio 2015
问题描述
点击"立即发布"后,我收到以下错误消息在Visual Studio 2015中,我创建了测试证书并安装在根存储上,并通过VS2015安装了强名称文件。我试图发布的应用程序是windows
表单应用程序。
无法发布,因为项目无法构建。
签名时出错:参数不正确。
请帮忙,
Tim
朋友,
>>参数不正确。
您的构建是在服务中运行还是在导入证书的用户帐户中运行?
这是一个频繁的MSBuild错误,来自 MSDN 您可以获得以下解决方案:
尝试关闭任何需要私钥保护的本地安全策略设置。接下来,删除并重新导入构建用户帐户的证书。
请参阅以下类似的解决方案:
希望有所帮助!
最好的问候,
Stanly
Hi,
I am receiving the error below when I clicked the "Publish Now" button in Visual Studio 2015, I created the test certificate and installed on the root store and also a strong name file via VS2015. The application I was trying to publish is windows form application.
Cannot publish because the project failed to build.
An error occurred while signing: The parameter is incorrect.
Please help,
Tim
Hi friend,
>>The parameter is incorrect.
Is your build is running in a service or in a user account other than the one that imported the certificate?
This a frequent MSBuild Error, and from the MSDN you can get the below solution:
Try turning off any Local Security Policy settings that require private key protection. Next, delete and re-import the certificate for the build's user account.
And please refer to the following similar solutions:
Hope it helps!
Best Regards,
Stanly
这篇关于签名时出错:Visual Studio 2015中的参数不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!