Erasing the Find/Replace History on Visual Studio 2010

Viewed 10573

I've looked around online to try to find a way to delete the history of VS 2010's Find/Replace feature, but all I've gotten are answers only valid for previous versions (VS 05, VS 08, etc.). Does anyone know how clear it for the 2010 version? Thanks!

3 Answers

For Visual Studio 2017:

http://www.visualstudioextensibility.com/2017/07/15/about-the-new-privateregistry-bin-file-of-visual-studio-2017/ https://github.com/Microsoft/VSProjectSystem/blob/master/doc/overview/examine_registry.md

Extract:

  1. Close Visual Studio
  2. Start Regedit.exe
  3. Select the HKEY_LOCAL_MACHINE node
  4. From the main menu, select File -> Load Hive... and select the private registry file. That file is stored in the Local App Data %localappdata%\Microsoft\VisualStudio\[config]\privateregistry.bin where [config] corresponds to the configuration hive you would like to browse
  5. It will prompt for a name - that represents the name that will be displayed under (e.g. IsolatedHive)
  6. Now you should be able to browse the registry under the hive you created Now search for the key "Find" and delete whatever you need to delete.
  7. Before launching Visual Studio, you need to unload it: From the main menu File -> Unload Hive before attempting to run VS (otherwise regedit keeps the file locked, and Visual Studio will fail to launch)
Related