Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find Results not displaying Results

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?

like image 310
Max Barfuss Avatar asked Nov 14 '12 20:11

Max Barfuss


4 Answers

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"
like image 181
Max Avatar answered Oct 21 '22 18:10

Max


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.

like image 39
Max Barfuss Avatar answered Oct 21 '22 19:10

Max Barfuss


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

like image 29
Afshin Ghazi Avatar answered Oct 21 '22 17:10

Afshin Ghazi


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

like image 1
Andrew dh Avatar answered Oct 21 '22 18:10

Andrew dh