Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Visual Studio version update colors reset to default values #7

Open
ipavel83 opened this issue Dec 25, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ipavel83
Copy link

After Visual Studio 2022 version update from 17.0.2 to 17.0.4 Colors reset to default values.
Reproduced with Visual Studio 2019 update 16.11.7->16.11.8
defaultColorScheme
Either one solution will be better than now: different default colors for light scheme, load/save colors to file, or just don't reset values after update.

@Tim-Maes
Copy link
Owner

Decorating setting entries in the settings.designer.cs file with NoSettingsVersionUpgrade attribute resolves this issue, but that file is auto generated, need to find out how to set this on the settings.settings (or app.config?).

Another solution is to check Settings.Default.Upgrade & check setting values with GetPreviousVersion() manually in code when the extension initializes.

I'm opening another issue to apply different defaults based on light/dark theme on install. A nice to have feature.

@Tim-Maes Tim-Maes pinned this issue Feb 15, 2022
@Tim-Maes Tim-Maes added the bug Something isn't working label Feb 15, 2022
@Tim-Maes Tim-Maes unpinned this issue Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants