首页 新闻 会员 周边 捐助

clickonce 部署后,之前运行正常,今天打不开了

0
悬赏园豆:5 [已解决问题] 解决于 2019-05-24 12:09

clickonce 部署后,之前运行正常,今天打不开了
安装模式设置的是必须联网使用。
说是参照的程序集没有安装在系统上,但是之前好好的,并没有变动。下面是异常信息:

执行此操作期间检测到下列错误。
* [2018-09-06 08:41:46] System.Runtime.InteropServices.COMException
- 参照的程序集没有安装在系统上。 (异常来自 HRESULT:0x800736B3)
- 源: System.Deployment
- 堆栈跟踪:
在 System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
在 System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
在 System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
在 System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
在 System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
在 System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

luotong的主页 luotong | 初学一级 | 园豆:4
提问于:2018-09-06 08:50
< >
分享
最佳答案
0

把这个注册表项删掉就行了 HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata

luotong | 初学一级 |园豆:4 | 2018-09-06 12:04
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册