Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不知道怎么用,双击后报错 #2

Open
lyolve opened this issue Jun 21, 2020 · 2 comments
Open

不知道怎么用,双击后报错 #2

lyolve opened this issue Jun 21, 2020 · 2 comments

Comments

@lyolve
Copy link

lyolve commented Jun 21, 2020

名称: 公式与代码
从: file:///C:/Users/SDJU_345/Desktop/公式与代码 v0.2/公式与代码.vsto

************** 异常文本 **************
System.Security.SecurityException: 此应用程序中的自定义功能将不起作用,原因是用于为 公式与代码 的部署清单签名的证书或其位置不受信任。请向管理员寻求进一步帮助。
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustPromptKeyInternal(ClickOnceTrustPromptKeyValue promptKeyValue, DeploymentSignatureInformation signatureInformation, String productName, TrustStatus status)
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustUsingPromptKey(Uri manifest, DeploymentSignatureInformation signatureInformation, String productName, TrustStatus status)
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.ProcessSHA2Manifest(ActivationContext context, DeploymentSignatureInformation signatureInformation, PermissionSet permissionsRequested, Uri manifest, ManifestSignatureInformationCollection signatures, AddInInstallationStatus installState, TrustStatus sha256TrustStatus, X509Certificate2 sha256PublisherCert)
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySecurity(ActivationContext context, Uri manifest, AddInInstallationStatus installState)
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
失败的程序集的区域是:
MyComputer
@LittleNewton
Copy link
Owner

请参考 issue #1 的解决方案。

这是由于 X509 证书导致的问题。

@LittleNewton
Copy link
Owner

这个 issue 将会保持开放,直至证书问题彻底解决

issue #1 提出的解决方案作为临时方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants