Visual Studio freezing (crashing) while loading solution
Usually removing of the hidden .vs folder in solution directory fixes the problem.
I experienced the same issue with VS 2019 and fixed it by deleting the user.json
file from %USERPROFILE%\AppData\Roaming\Visual Studio Setup
EDIT
The issue reappeared after a few days, so I located the user settings for Visual Studio 2019 (%USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\16.0_f124b472) and deleting the following files seemed to have reset VS to a normal state:
Current.vsk
User.vsk
ObjBrowEx.dat
Please close all your solutions before deleting the files
Possible solutions:
Delete
.vs
folder as mentioned aboveClear temp files from
%USERPROFILE%\AppData\Local\Temp
Readjust source control in
Tools
->Options
->Source control
->Plugins
, set toNone
,Save
, close VS. Then reopen it and reset the plugin.
There is no particular order, but one of them might help.