VB.Net Application Settings / ClickOnce
- by B Z
VS 2008 / VB.Net / WinForms
I have an application setting (Settings.settings) for a project and I am using Click Once deployment.
I used the VS Editor to create the setting and I can see the setting in the app.config file
<applicationSettings>
<MyApp.Win.My.MySettings>
<setting name="MySetting" serializeAs="String">
<value>False</value>
</setting>
</MyApp.ArtTracker.Win.My.MySettings>
</applicationSettings>
I would like to update this setting after the application is compiled. The setting is for testing purposes only.
If I change the xxx.config.deploy and I reinstall the app with click once. The new setting value doesn't change (seems to be cached somewhere). Even if I change in my local pc the setting seems to be cached somewhere. If I go in VS it asks me to Re-Sync the settings. But I need to do this after the application is compiled.
Thanks for any help