简体   繁体   English

在VS解决方案中查找所有.rpt文件

[英]Find all .rpt files in VS solution

I would like to search my VS 2008 solution and return back all files of .rpt files. 我想搜索我的VS 2008解决方案,并返回所有.rpt文件的文件。

If possible, I would prefer it to be in code. 如果可能的话,我希望它可以用代码编写。 I'd love to iterate over these files. 我很想遍历这些文件。

(This is for some maintenance of a solution that I inherited and has a lot of unreferenced code which I am attempting to clean up) (这是对我继承的解决方案的一些维护,该解决方案有很多我试图清除的未引用代码)

我将使用FileInfo类,遍历所有文件夹和文件,并建立名称以.rpt结尾的所有文件的列表。

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

相关问题 用于替换整个VS解决方案的所有文件中的选项卡的工具/技巧 - Tool/trick to replace tabs in all files of an entire VS solution 如何将 VS 解决方案中引用的所有 Nuget 包下载为 nupkg 文件? - How to download all Nuget packages referenced in VS solution as nupkg files? 在文件中查找不在解决方案中的文件 - Find in Files Finding Files not in Solution 如何在解决方案的所有.cs文件中找到所有用“”括起来的字符串? - How do I find all “”-enclosed strings in all .cs files of my solution? 如何通过指定非NULL的参数来找到整个VS解决方案的“方法用法”? - How to find a “method usage” all along a VS solution by specifying its parameters that are not NULL? TFS 未获取所有解决方案文件 - TFS Not Getting All Solution Files Visual Studio,在某个过滤器(位于解决方案资源管理器中)内的所有文件中查找/替换文本 - Visual Studio, find/replace text within all files inside a certain Filter (of Solution Explorer) 在文件中查找结果文件在另一个解决方案上 - Find in Files results files on another solution 查找解决方案中所有项目的所有参考 - Find all reference on all projects in solution 以编程方式创建VS解决方案/项目文件 - Programmatically creating VS solution/project files
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM