Question

Today my Find Results feature of Visual Studio 2012 stopped working. The Find Results windows displays summary information, but not the actual lines matched. This is all my Find Results window displays:

Find all "mytext", Subfolders, Find Results 1, Entire Solution, ""
  Matching lines: 40    Matching files: 10    Total files searched: 1129

I have tried all of the fixes this Microsoft forums poster has tried:

http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/1a02f076-29f7-46d1-879a-f8ae6d6abe95

His solution was to reformat and re-install. The Microsoft MSDN Forum Assistant's answer is awesome:

"Glad to know that you will not not be botherd by this weird problem ."

Has anyone found an actual solution to this problem?

Was it helpful?

Solution

Check registry fixes in this thread. That helped me.

To make sure it won't disappear I'm copying the solution from Martin Rosselle here:

Please check if the following registry key is ok. Fixing this solved the issue for me.

  • Copy the text below and save it as .reg file.
  • Go to regedit.exe and import saved .reg file or simply open the file with Registry Editor and click yes when prompted to continue.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}]
@="PSFactoryBuffer"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
@="C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\TextMgrP.dll"
"ThreadingModel"="Both"

OTHER TIPS

I was able to solve this by running:

Devenv.exe /ResetSettings

from the visual studio command prompt, then running a repair on my visual studio installation.

Still a lengthy fix for such a simple problem, but not quite a reformat.

See here: Visual studio search turned out to be a simple shortcut issue, Cntrl+Shift+F instead of Cntrl+F

This is a known bug in VS that has been around since 2005. Click on the 'find results' box and click ctrl+break a few times.

If that doesn't work for you, there are a few other key combinations that should - take a look here:

No search results in visual studio

I was only able to correct this issue by repairing my Visual Studio installation.

This issue was resolved for me after I restarted Visual Studio (2013 in my case). So make sure you try that before you dig into any of the more complicated solutions.

I had an almost similar problem where the find results window stopped showing the matching lines in code. It did show the files however. The solution was unchecking the "Display file names only" checkbox in the "Find and Replace" window (Ctrl+Shift+F), which I had checked accidentally.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top