于是到网上搜索找到了下面这个答案,解决了问题,但是不知道为什么?
Please open Windows Explorer, and navigate to \Common7\IDE -Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
-Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
-Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
-Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.
Doing first 3 steps works for me.