Asp.net, dynamic loading of server controls from a DLL
I've been using reflection and LoadControl() to try and load a control dynamically from a DLL. I've had a problem, though, loading it from elsewhere than the app's ~/bin folder.
Is there any kind of restriction开发者_如何学运维 as to where you should be able to load controls from, and if yes, is there any way I can lift or bypass that restriction?
Thanks!
Have a look at this question. You can only load assemblies from the bin directory, the GAC or a codebase location.
精彩评论