views:

24

answers:

1

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)

A: 

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.

RobinDotNet