Sunday, May 1, 2011

Find all .rpt files in VS solution

I would like to search my VS 2008 solution and return back all files of .rpt files.

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)

From stackoverflow
  • I'd use the FileInfo class, loop through all folders and files and build a list of all files with names that end with .rpt

    Nathan Koop : Good call, [smacks head!] I should have thought of that

0 comments:

Post a Comment