How do you track down dependencies for ASP.NET Web Site?
-
22-07-2019 - |
Question
The dynamic compile-on-the fly approach seems to fall outside the capacity for the typical tools which would extract this kind of information. I know I may be better off converting to a Web Application, BUT I would like to ask how it could be done in the case of a Web Site Project.
Solution
The aspnet_compiler can still leave you with a boatload of assemblies to scan. You can chase it with aspnet_merge, or use a Web Deployment Project to run the compiler and merge utility for you. WDP can give you a single assembly for the entire web site.
OTHER TIPS
You could always use the aspnet_compiler and then scan for dependencies on the compiled assemblies.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow