buildmanager

Difference between AppDomain.GetAssemblies and BuildManager.GetReferencedAssemblies

Just wanted to know if there is any difference between the two, in the context of a fully trust asp.net mvc 2 application. ...

Help System.Web.Compilation.BuildManager find a type in a non-referenced assembly

I'm trying to write a plug-in system where assemblies can be dropped in a folder that ASP.NET has no knowledge about. This plug-in system works fine for ASP.NET MVC based assemblies, but for old-school WebForm assemblies (where the .aspx files Inherits the System.Web.UI.Page derived classes) System.Web.Compilation.BuildManager is respons...

.net console app lifecycle - working around a pre-start initialization error from BuildManager.GetReferencedAssemblies

I'm trying to iterate through the referenced assemblies in my console app. I have been doing this with BuildManager.GetReferencedAssemblies in other projects, but in my console application, I get an InvalidOperationException: This method cannot be called during the application's pre-start initialization stage. To my knowledge, there is...