Search code examples
visual-studio-2008findreplace

Visual Studio find doesn't find all possibilities


Recently, I've begun to notice that Visual Studio 2008 isn't finding all of the instances of a text I search for when I'm searching Entire Solution. It will start to search through the files to find a term, but then at some point, it stops searching other files, and starts alternating between only two files. This is very irritating, because I can't always find what I'm looking for. In fact, to make matters worse, sometimes search simply doesn't find a term that I know exists, so I'll close the search form, switch documents, run the search again, and the term will be found.

Note that in all the situations above, I am searching the Entire Solution.

Does anybody have any experience with this? If so, how did you fix it?


Solution

  • That is indeed very annoying. This happened to me using VS2003, but I upgraded to VS2005 shortly after so I never tried fixing it. I did a search and here are some possibilities to get you started:

    • Run devenv /resetsettings
    • Window menu-->Select Reset Window Layout (not sure why this would help?)
    • Repair VS2008, if that fails try reinstalling.