文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ClickOnce 使用摘要

ClickOnce 使用摘要

时间:2010-11-25  来源:Apollo Sun

  答:文件要包含在项目中,并且其属性窗口中,“生成操作”选项的值为“内容”

2.安装时提示错误,日志中显示类似如下信息

      执行此操作期间检测到下列错误。
 * [2010-11-25 15:45:43] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
  - 清单中的引用与下载的程序集 ****.***.exe 的标识不匹配。
  - 源: System.Deployment
  - 堆栈跟踪:
   在 System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
   在 System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
   在 System.Deployment.Application.FileDownloader.OnModified()
   在 System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
   在 System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
   在 System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
   在 System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
   在 System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
   在 System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
   在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
   在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

 答:在程序引用其它exe项目时发生此情况,有一种原因是这样的:被引用的exe项目属性中没有勾选以下选项“启用ClickOnce安全设置”

 

 

 

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载