I have Microsoft Visual Studio 2019 and Visual Studio 2022 installed.
This is Community Edition, I am logged in and registered with my Microsoft Account. It is important.
I removed all "Visual Studio*" directories in my "C:\Users*".
After restarting Visual Studio it immediately shows the dialog to log into my Microsoft Account. I log in and then it imports some of my previous settings. For example - my old color theme is applied. The one particular offending setting than doesn't show in UI is still set.
I'm afraid that uninstalling and reinstalling the program won't help either.
The setting I want to change is "Enable new Project Properties UI" - it was available in 2022 Preview 1. After upgrading to 2022 Preview 2 it disappeared from the settings dialog and the Project Properties dialog crashes. I'm stuck with broken Preview 2 but I know if I reset the settings it would work. The problem is I don't know how to reset settings so they would not be recovered from the cloud.
I tried so far:
devenv /ResetSettings
None of those actions even changed my theme from dark to light.
Restores Visual Studio default settings and automatically launches the Visual Studio IDE. This switch optionally resets the settings to a specified settings file (*.vssettings
).
The default settings come from the profile that was selected when Visual Studio was first launched.
Tip
To learn how to reset settings using the integrated development environment (IDE), see Reset settings.
devenv /ResetSettings [SettingsFile|DefaultCollectionSpecifier]
SettingsFile
Optional. The full path and name of the .vssettings
file to apply to Visual Studio.
DefaultCollectionSpecifier
Optional. A specifier representing a default collection of settings to restore. Choose one of the default collection specifiers listed in the table.
Default collection name Collection specifier GeneralGeneral
JavaScript
JavaScript
Visual Basic
VB
Visual C#
CSharp
Visual C++
VC
Web Development
Web
Web Development (Code Only)
WebCode
If no SettingsFile is specified, the IDE opens using the existing settings.
The first example applies the settings stored in the file MySettings.vssettings
.
The second example restores the Visual C# default profile.
The third example will also close Visual Studio after apply the settings. You can append /Command "File.Exit"
.
devenv /ResetSettings "%USERPROFILE%\MySettings.vssettings"
devenv /ResetSettings CSharp
devenv /NoSplash /ResetSettings General /Command Exit
Related Articles
Comments
Please Join Us to post.
0