问题
in Visual Studio 2010 I have a really big ASP.NET website project which has a bunch of user controls.
How do I determine all the .aspx pages where a specific .ascx user control is referenced throughout the project.
Thanks
回答1:
Right click the class of your User Control
and Select the below option.
Find All Reference
回答2:
The simplest way I can think of is to just use the Find In Files (Ctrl/Shift-F) search dialog.
Find what: name of user control
Look in: Entire project
来源:https://stackoverflow.com/questions/10144287/how-do-i-find-all-references-to-a-user-control