开发者

ClickOnce application update throw exception about FileAssociation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜