开发者

Asp.net, dynamic loading of server controls from a DLL

开发者 https://www.devze.com 2023-04-05 08:36 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消