How do i find all references to a user control

随声附和 提交于 2019-12-11 02:42:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!