简体   繁体   English

在Visual Studio 2012中的整个解决方案中查找从Temp文件夹获得了大量结果

[英]Find in Entire Solution in Visual Studio 2012 gets quite a lot of result from Temp folder

In Visual Studio 2012, I tried to do some search in: Find in Files->Entire Solution , then I get quite a lot results from files in C:\\Uses\\myusername\\AppData\\Local\\Temp\\ . 在Visual Studio 2012中,我尝试进行一些搜索: Find in Files->Entire SolutionFind in Files->Entire Solution ,然后我从C:\\Uses\\myusername\\AppData\\Local\\Temp\\文件中获得了很多结果。 The files take the name like tmpE11.tmp.cs or tmpFBEE.tmp.cpp , the contents are identical to some of the files in my solution. 这些文件的名称类似于tmpE11.tmp.cstmpFBEE.tmp.cpp ,其内容与我的解决方案中的某些文件相同。

My guess is that it is caused or auto-generated by some crashes, but why are they reachable by the search? 我的猜测是它是由某些崩溃引起或自动生成的,但为什么它们可以通过搜索到达? I doubt if I can simply delete them or not. 我怀疑我是否可以简单地删除它们。

Maybe this is related to a bug reported , where lots of tmp files created and are then included in the Find Results. 也许这与报告的错误有关,其中创建了大量tmp文件,然后将其包含在查找结果中。 If I clear the 'Miscellaneous Files Folder' the search does not include the temporary files. 如果我清除“其他文件夹”,则搜索不包含临时文件。

To display the 'Miscellaneous Files Folder' (see https://msdn.microsoft.com/en-us/library/36bhtx7w.aspx ): 要显示“其他文件文件夹”(请参阅https://msdn.microsoft.com/en-us/library/36bhtx7w.aspx ):

  1. List item 项目清单
  2. On the Tools menu, click Options. 在“工具”菜单上,单击“选项”。
  3. In the Options dialog box, expand the Environment node and select Documents. 在“选项”对话框中,展开“环境”节点,然后选择“文档”。
  4. Select Show miscellaneous files in Solution Explorer. 在解决方案资源管理器中选择显示杂项文
  5. Specify the number of documents you want to appear in the folder. 指定要在文件夹中显示的文档数。

In Visual Studio 2013 you can limit the contents to 0 which effectively prevent inclusion. 在Visual Studio 2013中,您可以将内容限制为0,从而有效地防止包含。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 指定“整个解决方案”时,Visual Studio 2012“在文件中查找”搜索远远超出解决方案 - Visual Studio 2012 "Find in Files" searches far beyond the solution when "Entire Solution" is specified 如何在 Visual Studio 2012 中重命名解决方案、解决方案文件夹、项目文件夹、包/过滤器文件夹和 vcxproj 文件 - How to rename solution, solution folder, project folder, package/filter folder and vcxproj file in Visual Studio 2012 从Visual Studio 2012中的文件夹打开文件 - open file from folder in visual studio 2012 Visual Studio 2012 - 隐藏解决方案资源管理器中的文件夹? - Visual Studio 2012 - Hide folders from solution explorer? 如何从Visual Studio 2012获取已安装应用程序的文件夹路径 - How to get folder path of Installed application, from Visual Studio 2012 如何压缩Visual Studio 2012 Web服务解决方案文件夹,以便可以在另一台计算机上运行 - how to zip up a visual studio 2012 web service solution folder so that it can be run on another machine Visual Studio 2012自定义解决方案资源管理器筛选器 - Visual Studio 2012 Custom Solution Explorer Filter 将AngularJS项目添加到Visual Studio 2012解决方案 - Adding an AngularJS project to a Visual Studio 2012 solution Visual Studio 2012:没有可变参数模板:解决方案? - Visual Studio 2012 : no variadic templates : a solution? Visual Studio 2012解决方案资源管理器扩展 - Visual Studio 2012 Solution Explorer extension
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM