You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly, configuration files for user settings used to be automatically migrated when a ClickOnce app was updated.
This seems to be no longer the case for .NET 6.
Solutions on the web talk about using MyApp.Properties.Settings.Default.Upgrade() but this didn't work for me and looking at code in LocalFileSettingsProvider showed why: it was designed only to support a directory structure where each Version's settings were stored in a folder of the Version's name and moving to the parent directory allowed previous Versions to be found.
But since ClickOnce apps are effectively different apps, this can't work.
Where is the code that used to do the automatic settings upgrade?
This is the last piece in the puzzle for me in getting ClickOnce to work fully under .NET 6.
The text was updated successfully, but these errors were encountered:
I would like to add some knowledge that i have built up as a result of recently converting a large application from .Net 4.8 to .Net 8.0
I have been able to make a workable ClickOnce solution in .Net8
If I understand correctly, configuration files for user settings used to be automatically migrated when a ClickOnce app was updated.
This seems to be no longer the case for .NET 6.
Solutions on the web talk about using MyApp.Properties.Settings.Default.Upgrade() but this didn't work for me and looking at code in LocalFileSettingsProvider showed why: it was designed only to support a directory structure where each Version's settings were stored in a folder of the Version's name and moving to the parent directory allowed previous Versions to be found.
But since ClickOnce apps are effectively different apps, this can't work.
Where is the code that used to do the automatic settings upgrade?
This is the last piece in the puzzle for me in getting ClickOnce to work fully under .NET 6.
The text was updated successfully, but these errors were encountered: