This project is read-only.

find files in all projects in a solution

May 3, 2011 at 10:20 PM

I would like to find all 'packages.config' files in all my projects in a solution.

Something like:

get-childitem -Path dte:\solution\projects -Recurse -Include 'packages.config'

comes to mind.

But this code is really slow and never returns.

What is a better approach to do this?

Jun 6, 2011 at 6:25 PM

The problem is the size of the tree under the projects node - it includes the entire code base model as well.  I'm considering moving the code model out to its own node under dte:/solution.  That would isolate file/project ops from code ops.  Thoughts?