Finding all project references to a given project in a solution

First, let me just say I just discovered ReSharper's ability to right-click
on a project reference in Solution Explorer, and find all code that is
dependent on that module.  Fantastic!

But I find myself in need of something at a higher level, and I'm not sure
how to do it.

I have a solution with probably a hundred projects in it.  Each project with
dozens to hundreds of classes.

What I want (NEED) to do is find all projects that reference a given
project, so I can remove that project from the solution safely (by visiting
all the references, and either recoding them, or tracing down how to
eliminate the usage).  I know I can't just right-click on a reference in
Solution Explorer and say "Find all projects that share this reference" ...
but that's exactly the outcome I would like.

Is there any sneaky way to do this, using VS2008 with ReSharper 5.1?   Or is
it just going to be opening the solution file in a text editor and grepping
through the XML?

Any bright ideas?



1 comment
Comment actions Permalink

Hello Paul,

Right-click reference, select Project Hierarchy with ReSharper 5. Does it
do what you want?

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


PB> First, let me just say I just discovered ReSharper's ability to
PB> right-click on a project reference in Solution Explorer, and find
PB> all code that is dependent on that module.  Fantastic!
PB>
PB> But I find myself in need of something at a higher level, and I'm
PB> not sure how to do it.
PB>
PB> I have a solution with probably a hundred projects in it.  Each
PB> project with dozens to hundreds of classes.
PB>
PB> What I want (NEED) to do is find all projects that reference a given
PB> project, so I can remove that project from the solution safely (by
PB> visiting all the references, and either recoding them, or tracing
PB> down how to eliminate the usage).  I know I can't just right-click
PB> on a reference in Solution Explorer and say "Find all projects that
PB> share this reference" ... but that's exactly the outcome I would
PB> like.
PB>
PB> Is there any sneaky way to do this, using VS2008 with ReSharper 5.1?
PB> Or is it just going to be opening the solution file in a text editor
PB> and grepping through the XML?
PB>
PB> Any bright ideas?
PB>


0

Please sign in to leave a comment.