This is still an issue with 17.7.4, and /ResetSettings doesn't fix it.
Not remembering source control plug-in (Git)
Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in."
Once I do this, it automatically loads my global settings (username, email, etc.) and the appropriate repo. From there, I can interact with Git as normal.
But if I unload the project or restart Visual Studio, the source control is gone again and I have to repeat the steps above.
Developer technologies .NET Other
Developer technologies Visual Studio Other
13 answers
Sort by: Most helpful
-
-
Leonard, Francis 10 Reputation points
2024-02-28T20:22:35.9766667+00:00 This worked for the Developers on our staff who had the same issue, hopefully it will work for you. This assumes you have Git for Windows installed:
Add this environment variable by right clicking your computer icon on the desktop --> properties --> Advanced system settings --> Environment Variables; Add to User variables section --> HOME=%USERPROFILE% Restart Visual Studio. -
R&D Microstudio 5 Reputation points
2025-06-19T06:40:58.16+00:00 Up to today, Version 17.14.6 (June 2025), it still does not work.
I have both Git and Helix scc extensions.
My project was previously on Helix and now it is on Git.
I opened from git correctly until once I clicked the wrong extension (bottom right corner add to source control) and it connected to Helix.
I reverted back to Git inside the Tools-Options menu and it works, but now every time I reopen VS I get prompted by the "You are currently working on a Solution that is controlled by a different source code control plug-in" message and to stay in Git I need always to click No.
It works but it is unconfortable, expecially if I do a mistake and press yes.
How can I get rid of the message and stay automatically in Git without removing or disabling Helix? (I need it for other projects)
-
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
2023-09-07T09:05:56.3066667+00:00 Hello @Brad Knode ,
Welcome to Microsoft Q&A forum.
I tested in VS 2022 17.7.3 but it seems that the issue didn’t occur, the Git option was selected whenever I unloaded the project or restarted VS.
In case some cache causes this issue after updating, would you mind trying to reset VS settings by running devenv /ResetSettings command in VS developer Command Prompt?
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.