怎么打开xbap文件?

时间:2011-03-31 10:31:45

标签: wpf clickonce xbap

如何打开从互联网上下载的.xbap文件? 许多控制供应商网站提供下载.xbap文件以显示WPF控件,但我无法打开它们。 Internet Explorer生成错误:

http://img28.imageshack.us/i/capturenxs.png/

错误日志:

错误细节     在此操作期间检测到以下错误。     * [3/31/2011 2:23:10 PM] System.Deployment.Application.InvalidDeploymentException(ManifestParse)          - 来自file:/// E:/Downloads/ControlExplorer.xbap的异常读取清单:清单可能无效或无法打开文件。

  • 来源:System.Deployment     - 堆栈跟踪:         在System.Deployment.Application.ManifestReader.FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)         在System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore子存储,Uri& sourceUri,TempFile& tempFile,IDownloadNotification通知,DownloadOptions选项,ServerInformation& serverInformation)         在System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore subStore,Uri& sourceUri,TempFile& tempFile,IDownloadNotification notification,DownloadOptions options)         在System.Deployment.Application.DeploymentManager.BindCore(布尔阻塞,TempFile& tempDeploy,TempDirectory& tempAppDir,FileStream& refTransaction,String& productName)         在System.Deployment.Application.DeploymentManager.BindAsyncWorker()     ---内部例外---     System.Deployment.Application.InvalidDeploymentException(SignatureValidation)      - 清单XML签名无效。

  • 来源:System.Deployment     - 堆栈跟踪:         在System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)         在System.Deployment.Application.ManifestReader.FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)     ---内部例外---     System.Security.Cryptography.CryptographicException      - 主题中没有签名。

  • 来源:System.Deployment     - 堆栈跟踪:         在System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)         在System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

1 个答案:

答案 0 :(得分:1)

您是否安装了.Net 3.5 SP1?原始版本3.5不允许未签名的应用程序。