Ian Oxley
Ian Oxley

Reputation: 11056

Visual Studio 2013 Search Solution Explorer fails to find files

So, I was using Visual Studio 2013, it crashed, and when I restarted it the Search Solution Explorer had stopped functioning correctly:

It seems to still find some files on a partial match, but not all files that you'd expect it to match e.g. if I search for Account I'd expect it to find AccountController.cs and AccountControllerTest.cs but it only finds the latter.

Some further info:

Has anyone come across anything similar to this, or got any suggestions of what to try to get Search Solution Explorer working again?

Update

I've had some joy running devenv /ResetSkipPkgs and devenv /ResetSettings. After a I ran those command Search Solution Explorer started working again, and works most of the time now. It still fails occasionally. Sometimes restarting Visual Studio will get it working again, but sometimes it just plain refuses to find certain files that are there.

Update 2

I installed Visual Studio 2013 Update 2, and Search Solution Explorer ran without any problems for just over a week before this problem reappeared. Restarting Visual Studio got Search Solution Explorer working again.

Upvotes: 22

Views: 10205

Answers (7)

JohnyTwoLegs
JohnyTwoLegs

Reputation: 17

Running devenv /ResetSkipPkgs will fix the problem but, as noted, it will return. For a permanent solution, add this parameter to the target in the exe's properties:

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" -ResetSkipPkgs

Upvotes: 0

Kejing Chen
Kejing Chen

Reputation: 1

This may caused by other extensions you have installed in your visual studio. I have some issue, found out Telerik JustTrace caused this issue.

Upvotes: 0

ctb
ctb

Reputation: 1222

I still had this issue both prior to and after installing VS update 3. I should note that it went away after I installed that for a while, and then came back. I suspect (but cannot confirm) that the broken behavior's return coincided with a lockup of my system which necessitated a reboot...

Anyway, I had the Productivity Power Tools installed, and after reading the answers here wondered if it might be complicit, and so I went to disable it and noticed it had a pending update. I went ahead and updated the add-on, and that resolved the issue for me (again). We'll see if it stays fixed.

Upvotes: 0

Evan Lin
Evan Lin

Reputation: 1322

I have the same issue and confirmed it related to VS2013 Update 2 RC. Uninstall it will fixed this issue.
Wait for GM version of VS 2013 update 2.

Upvotes: 0

Thierry_S
Thierry_S

Reputation: 1616

Weird that it works in Safe Mode, or that you manage to fix by removing extensiosn and it then re-appears...

but if some of your projects are in solution folders, then there is a known bug, fixed but not released yet apparently:

http://connect.microsoft.com/VisualStudio/feedback/details/801836/solution-explorer-doesnt-search-files-projects-inside-solution-folders

Upvotes: 0

Gomino
Gomino

Reputation: 12347

Please try to install VS2013 update 2 CTP before reinstalling everything and see if it fix the bug:

Upvotes: 0

Grahame A
Grahame A

Reputation: 3953

I was able to narrow this down to the extensions I was using, "Productivity Power Tools 2013" seems to break the search feature for me in IIS, so I've disabled it for now. I'm getting a full set of results when searching now.

I came to this conclusion by uninstalling all of my extensions and reinstalling them one by one until the problem reappeared.

A coworker also had some success with this solution, launching DevEnv.exe with /ResetSkipPkgs

http://msdn.microsoft.com/en-us/library/ms241276.aspx

Update

The problem returned for me after about 30 minutes, no specific cause noted. It was nice while it lasted. Removing all extensions gets me the same behavior as OP, only running in safe mode appears to work.

Deleting the .suo file also seems to fix the problem for a while, and then it comes back. I'm about to resort to a reinstall of vs2012 just to get this search feature back.

Upvotes: 3

Related Questions