[英]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 Solution
中Find 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.cs
或tmpFBEE.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 ):
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.