In Visual Studio, you can use short-cut Ctrl+Shift+F to find string in files (in solution, current project or current document), and sometimes you are unlucky to get this error:
The actual search occurrence is not listed in the result box, which virtually makes this search-in-files useless. You can either repair the Visual Studio installation or, use the following quicker tricks to fix this. Save the following into *.reg and double click. Click OK to modify the registry.
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"
This should make the error go away by fixing the registry problem. It is believed to be caused by third-party plugins/software which makes the registry corrupted.
原文地址:https://helloacm.com/how-to-fix-visual-studio-search-in-files-not-displaying-list-of-files-error/