Is there an easy way to find all references to the project in solution in VS2010? In fact I have a solution with 43 projects in it and I want to make sure there are no projects that have references to Project#N.
Thanks
You can view references in Project Explorer or when you click References on the Tools menu.
You can also right-click the project node and select Add > Project Reference. If you see a References node in Solution Explorer, you can use the right-click context menu to choose Add Reference. Or, right-click the project node and select Add > Reference.
In Solution Explorer, double-click the My Project node for the project. In the Project Designer, click the References tab. Click the Add button to open the Add Reference dialog box. In the Add Reference dialog box, select the tab indicating the type of component you want to reference.
The Find All References command is available on the context (right-click) menu of the element you want to find references to. Or, if you are a keyboard user, press Shift + F12.
Easy but dull way: right-click on solution, choose Project Dependencies, choose the first project in the Projects drop down list, and use down arrow to scroll through projects. For each project in Project box look if your project of interested checked in the list - that's most probably will make your list.
Or you can use Resharper for this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With