I have the same issue here, what I made:
Go to %AppData%\Microsoft\VisualStudio\16.0_<id>\Team Explorer
or %AppData%\Microsoft\VisualStudio\17.0_<id>\Team Explorer
file, can be some permissions issue with the file.
Rename the file to the VS think the file doesn't exist, and then the Visual Studio will create a new one after starting.