【发布时间】:2013-12-02 16:10:54
【问题描述】:
我刚刚开始在 clickonce 应用程序中遇到以下错误。在此“应用程序验证未成功。无法继续。
之前,我刚刚在我的机器上安装了 Visual Studio 2013当我点击详细信息时,我会得到
Activation of C:\Temp\ClickOnce\myApp\myApp.application resulted in exception.
Following failure messages were detected:
Strong name signature not valid for this assembly Microsoft.mshtml.dll.
我也收到两个警告,但我不认为它们是问题的原因
- 此应用程序的清单没有签名。签名验证将被忽略。
- 此应用程序的清单没有签名。签名验证将被忽略。
错误详情被列为
ERROR DETAILS
Following errors were detected during this operation.
* [02/12/2013 15:54:31] System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- Strong name signature not valid for this assembly Microsoft.mshtml.dll.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyStrongNameAssembly(String filePath, AssemblyManifest assemblyManifest)
at System.Deployment.Application.ComponentVerifier.VerifyComponents()
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
我没有签署 clickonce 清单。选中“启用 clickonce 安全设置”。 “这是一个完全信任的应用程序”被选中
【问题讨论】:
标签: clickonce