Is there a way to limit a search (via the \"Find and Replace\" dialog) in Visual Studio to specified folders or file types?
Fastest folder search in VS:
As said in other answers, there is no immediate way to limit your search to a given folder within the current solution. (There are at least 3 feature requests for this in visualstudio.uservoice.com that have all been closed for lack of upvotes.)
But here is the fastest workaround that I could find.
Works without leaving VS and with keystrokes only (no mouse action required):
Ctrl-C
(copies folder path to clipboard).Ctrl-Shift-F
to open "Find in Files".Tab
to forward the cursor to the "Look in" field. Ctrl-V
to paste in the folder path from clipboard.