In other words, if I have a compiled dll file, is there a way to find out (using Reflection) whether this dll is produced from a WebApplication, ClassLibrary or another project type? Is there any difference at all?
views:
26answers:
1
Q:
Is there any difference between assemblies compiled from WebApplication and ClassLibrary projects?
+1
A:
There's no practical difference, but you might be able to tell them apart based on the names of various classes and methods. For example, the presence of a Page_Load
method probably indicates that it's a web application.
Jeromy Irvine
2009-11-18 17:08:52
Also, there would usually be classes inheriting from System.Web.UI.Page.
Guffa
2009-11-18 17:37:41