Visual Studio 2022 Find All in Entire Solution is not working properly

Viewed 1717

I've just started to use Visual Studio 2022 and I'm trying to search something via ctrl+F and 'Find All' function but it is not finding the key that I'm searching for, even though I know there is such a key in a file in one of my projects in the solution. Do I miss a configuration step after a clean installation?

Note: I am able to find the key when I search in 'Current Document'

2 Answers

There seems to be a bug in the caching mechanism. I find I have to use all sorts of stupid tricks to force it to clear its cache and run the search properly, e.g. adding a nonsense word to one of my files, running the find in files for that word (which will succeed), removing it and then running my original query again (which will now succeed). It's very annoying.

Related