【问题标题】:WPF and ClickOnce: Reference in the manifest does not match the identity of the downloaded assembly WpfApplication1.exe [closed]WPF和ClickOnce:清单中的引用与下载的程序集WpfApplication1.exe的标识不匹配[关闭]
【发布时间】:2012-06-01 16:26:31
【问题描述】:

我正在 Visual Studio 2010 中测试虚拟 WPF 浏览器应用程序的部署。

如果我点击 localhost xbap 它运行正常。

然后我将它发布到文件服务器 \Bebrus1002\Intranet\it\ABS\WpfBrowserApplication1.xbap,但是当我单击已部署的 xbap 时出现此错误:

Following errors were detected during this operation.
* [1/06/2012 18:14:34] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
    - Reference in the manifest does not match the identity of the downloaded assembly WpfApplication1.exe.
    - Source: System.Deployment
    - Stack trace:
        at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
        at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
        at System.Deployment.Application.FileDownloader.OnModified()
        at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
        at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
        at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
        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.DeploymentManager.SynchronizeCore(Boolean blocking)
        at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()

有什么想法吗?

【问题讨论】:

    标签: wpf deployment clickonce manifest


    【解决方案1】:

    我可以通过删除对另一个项目的剩余引用来解决它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-07-17
      • 2019-10-30
      • 1970-01-01
      • 1970-01-01
      • 2011-07-30
      • 1970-01-01
      • 1970-01-01
      • 2022-06-10
      相关资源
      最近更新 更多