开发者

ClickOnce application update throw exception about FileAssociation

开发者 https://www.devze.com 2023-01-07 11:57 出处:网络
System.NullReferenceException: Object reference not set to an instance of an object. at System.Deployment.Application.ShellExposure.RemoveFileAssociationCLSIDInfo(FileAssociation fileAssociation, Def

System.NullReferenceException: Object reference not set to an instance of an object.

at System.Deployment.Application.ShellExposure.RemoveFileAssociationCLSIDInfo(FileAssociation fileAssociation, DefinitionIdentity subId, RegistryKey classesKey, String clsIdString, String productName)

at System.Deployment.Application.ShellExposure.RemoveFileAssociation(FileAssociation fileAssociation, DefinitionIdentity subId, String productName)

at System.Deployment.Application.ShellExposure.RemoveShellExtensions(DefinitionIdentity subId, AssemblyManifest appManifest, String productName)

at System.Deployment.Application.ShellExposure.UpdateShellExtensions(SubscriptionState subState, ShellExposureInformation& shellExposureInformation)

at System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState subState)

at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)

at System.Deployment.Application开发者_运维知识库.DeploymentManager.SynchronizeCore(Boolean blocking)

at System.Deployment.Application.DeploymentManager.Synchronize()

at System.Deployment.Application.ApplicationDeployment.Update()

at Detechtion.Simulator.WPFApp.WindowMain.CheckUpdatesCommandExecuted(Object sender, ExecutedRoutedEventArgs e)


I've posted a response to this in the MSDN ClickOnce Forum here. Please provide more information about what you're doing and post your code as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消