Golleyselia
New Member
I want my asp.net application to be extendable using plugins.I have a plugin interface and can successfully load any assembly using Assembly.LoadFile. The asemblies contain a method that returns a Web User Control contained in the assembly.Inside the assembly I can load the Web Control via page.LoadControl if I use CodeFile instead of CodeBehind for the control's code. But I want the code to be in the assembly rather than have the source code next to the *.ascx and recompile it on every use. If I use CodeBehind I get the error "Could not load type '[My control class]'.How can I include the code in the assembly?