When I try to access "Application.CommonAppDataPath" i get this error message:
System.Deployment: Store metadata "CurrentBind" is not valid
Stack Trace:
at System.Deployment.Application.ComponentStore.GetPropertyString(DefinitionAppId appId, String propName)
This is only in Debug. When running as an actual published clickonce application it works fine.
How can I get rid of this exception when debugging locally?