ClickOnce应用程序更新抛出有关FileAssociation的异常

时间:2010-07-17 02:01:42

标签: clickonce file-association

System.NullReferenceException:未将对象引用设置为对象的实例。

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

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

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

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

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

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

在System.Deployment.Application.DeploymentManager.SynchronizeCore(布尔阻塞)

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

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

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

1 个答案:

答案 0 :(得分:0)

我在MSDN ClickOnce论坛here上发布了对此的回复。请提供有关您正在做的事情的更多信息,并发布您的代码。