I have an Asp.Net 2.0 (VB.Net) app and I'm trying to export a Control (ASCX) to another project. I need to know what other files that the Control needs in order to work.
Is there any way - using VS.Net 2005 or an external app - to recursively trace the dependencies of a page or control in a solution?
For example, for this file: ~/Controls/SomeControl.ascx
, I'd like to get the following list of files that it depends on to run:
~/Controls/SomeControl.ascx
~/Controls/SomeControl.ascx.vb
~/App_Code/SomeClass.vb
~/App_Code/AnotherClass.vb
~/App_WebReferences/com/example/SomeWebService/SomeWebService.disco
~/App_WebReferences/com/example/SomeWebService/SomeWebService.discomap
~/App_WebReferences/com/example/SomeWebService/SomeWebService.wsdl
~/App_Code/AnotherClass.vb