2010-07-17 71 views
0

System.NullReferenceException:未將對象引用設置爲對象的實例。ClickOnce應用程序更新拋出關於FileAssociation的異常

在System.Deployment.Application.ShellExposure.RemoveFileAssociationCLSIDInfo(文件關聯文件關聯,DefinitionIdentity子ID,的RegistryKey classesKey,字符串clsIdString,字符串PRODUCTNAME)

在System.Deployment.Application.ShellExposure.RemoveFileAssociation(文件關聯文件關聯,DefinitionIdentity SUBID ,字符串PRODUCTNAME)

在System.Deployment.Application.ShellExposure.RemoveShellExtensions(DefinitionIdentity子ID,AssemblyManifest appManifest,字符串PRODUCTNAME)

在System.Deployme nt.Application.ShellExposure.UpdateShellExtensions(SubscriptionState子狀態中,ShellExposureInformation & shellExposureInformation)

在System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState子狀態)

在System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState &子狀態中,CommitApplicationParams commitParams)

在System.Deployment.Application.DeploymentManager.SynchronizeCore(布爾阻擋)

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

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

在Detechtion.Simulator.WPFApp.WindowMain.CheckUpdatesCommandExecuted(對象發件人,ExecutedRoutedEventArgs E)

回答

0

我已經在MSDN ClickOnce論壇here上發佈了對此的回覆。請提供更多關於你在做什麼併發布你的代碼的信息。

相關問題