Visual Studio (2008) - Which projects reference a particular assembly?
I have a solution with a decent number of projects (say, 30) and I want to find which of these projects reference a particular assembly.
Here's a concrete example: In the Object Browser I can see that two different versions of the same assembly are referenced throughout the solution. I want to see which project(s) use each of these references, so I can update the开发者_运维知识库m all to point to the same thing.
alt text http://www.freeimagehosting.net/uploads/bd7c85cb2e.png
Unfortunately, the .csproj files are scattered in different locations, so a simple grep is not all that simple.
Any suggestions?
I'm thinking of making a script that parses the .sln file and then parse each project file, but maybe there's a simpler solution.
PS. I'm using ReSharper, if that's any help.
In Resharper 5.0, you can click on a project and use "Find Code Dependent on Module". That should give you what you want.
精彩评论