开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜