现在的位置: 首页 > 综合 > 正文

vs2008 ctrl+D 查找出错 No files were found to look in.

2011年12月14日 ⁄ 综合 ⁄ 共 848字 ⁄ 字号 评论关闭

vs2008,用ctrl+D来搜文件夹中的文件含有某个字符串。

一直这个功能用得正常,且很好用。

但是今天在搜一个虚拟目录时发现报这个错误,说是没文件可搜,google出下面的结果。

但是试了都没效,最后只能指定子目录一个个搜索。或copy出来到非虚拟目录下搜索

 

微软的解释:http://msdn.microsoft.com/en-us/library/z613zk0e(v=vs.80).aspx

No files were found to look in. 

Visual Studio 2005
 
 This error generally occurs when a file name or directory has been specified in the Look in list and that file name or directory does not exist or cannot be found. This error can also appear if you specify a valid directory that does not contain the file extension specified in the File types list or the directory specified does not contain any files.

To correct this error

  1. Use the Custom Directory Set dialog box to browse to the directory or file name to search rather than typing in the path or file name. You can access the Custom Directory Set dialog box by choosing the ellipsis button next to the Look in list.

  2. Change the file extension specified in the File types list to *.* to search all files in the specified directory.

抱歉!评论已关闭.