How to hard reset Visual Studio instance

2023-05-19,,

When developing extensions sometimes you just mess up, others someone else does. If you start getting errors loading even the most mundane extensions, these are the instructions to hard reset your instance.

Close Visual Studio (if you haven’t already).
Open the registry editor (regedit.exe)
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}_Config
Delete the %USERNAME%\AppData\Local\Microsoft\VisualStudio\{version} directory.
Enjoy your brand new Visual Studio instance.

Use {version}=10.0 for Visual Studio 2010
Use {version}=11.0 for Visual Studio 2012
Use {version}=12.0 for Visual Studio 2013

If on the other side you want to reset the experimental hive you can do the same to with the ‘{version}Exp’ ones.

Happy coding!

How to hard reset Visual Studio instance的相关教程结束。

《How to hard reset Visual Studio instance.doc》

下载本文的Word格式文档,以方便收藏与打印。