十年磨一劍--從程序員到架構師

一个.net程序员,一个企业应用的开发者,喜欢系统架构,数据库,领域驱动,面向对象,表现层技术。关注重用的理论和实践。设计原则:简单,快速,适应变化能力强,表现层灵活多变...

博客园 首页 新随笔 联系 订阅 管理
  49 Posts :: 0 Stories :: 721 Comments :: 26 Trackbacks

公告

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.

posted on 2012-11-29 12:30 Kevin Zou 阅读(...) 评论(...) 编辑 收藏