Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ClickOnce and UserSettings

Ok, I have a ClickOnce app that I'm testing and I ask the user for a couple of pieces of information the first time they use load the app; Customer Id and Name. I then set the Properties so that they'll be saved across sessions. The property is Properties.Settings.Default["Customer ID"] and similar for name.

So I uninstall the application through control panel and reinstall the application but the settings are still there! I go and find all directories for my application and delete out the settings but the application acts like it still has them. I can even step through the debugger and see that they are still there.

How do I get rid of them all? This is very frustrating since it makes it almost impossible to test new data and to debug any first time installs.

Thanks...

like image 712
scottygpackfan Avatar asked Nov 15 '22 16:11

scottygpackfan


1 Answers

I believe the user config values are stored in this location:

%APPDATA%\<AppName>\<AppName><AppConfigName_GUID>\<AssemblyVersion>\user.config

Have you checked there?

like image 192
Peter Lillevold Avatar answered Dec 22 '22 10:12

Peter Lillevold