Please save me from going totally mad here. With my project, I keep finding that "Find in Files" works fine when I search on the views directory in my ASP.NET MVC project, but not when I go one level up to the project directory:
----
Find all "<RelatedSections", Subfolders, Keep modified files open, Find Results 2, "C:\Users\James\Documents\Visual Studio Projects\DeveloperFusion\DeveloperFusion.Web.UI", "*.spark"
No files were found to look in.
----
and yet when doing:
----
Find all "<RelatedSections", Subfolders, Keep modified files open, Find Results 2, "C:\Users\James\Documents\Visual Studio Projects\DeveloperFusion\DeveloperFusion.Web.UI\Views", "*.spark"
C:\Users\James\Documents\Visual Studio Projects\DeveloperFusion\DeveloperFusion.Web.UI\Views\Community\Index.spark(108): <RelatedSections />
C:\Users\James\Documents\Visual Studio Projects\DeveloperFusion\DeveloperFusion.Web.UI\Views\Content\Article\Index.spark(13): <RelatedSections />
C:\Users\James\Documents\Visual Studio Projects\DeveloperFusion\DeveloperFusion.Web.UI\Views\Content\Code\Index.spark(14): <RelatedSections />
<snip>
Matching lines: 9 Matching files: 9 Total files searched: 239
----
As you can see, look in file types is set to *.spark (the same in both queries). Subfolder searching is enabled. The View folder isn't set to hidden or anything like that, and is included in the project.
I'm at a loss - any suggestions?
Update I've now realised that this behaviour varies depending on the folder name. It seems to be anything appearing alphabetically after the "obj" folder just does not get discovered. If I delete everything (or rename) the obj folder to "xyz", then the Views folder get's searched fine. Weirdness. Could it have something to do with the long path names generated by the MS Deploy tool in the obj folder?