开发者

Website alternative to bin folder for assemblies?

In context of an ASP.NET Website project, is it possible to create a second location where DLLs will be picked up from, in addit开发者_JAVA技巧ion to the regular bin/ location and apart from the GAC? I expect such a feature would be made possible by the configuration.


You can use the codeBase element - it allows you to specify URL of an assmebly (which can be a FILE: URL), though it does require the assembly to be strongly named.

See this article describing this and another method (using the AssemblyResolve event which fires whenever the assembly loader fails to find an assembly).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜