首页 > 学院 > 开发设计 > 正文

<probing> 元素指定扩展Asp.Net加载程序集位置

2019-11-17 01:58:03
字体:
来源:转载
供稿:网友

<PRobing> 元素指定扩展asp.net加载程序集位置

下面的示例说明如何指定运行库应在其中搜索程序集的应用程序基子目录。

<configuration>   <runtime>      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">         <probing privatePath="bin;bin2/subbin;bin3"/>      </assemblyBinding>   </runtime></configuration>原来这个加载dll位置也可以扩展,一直以为只要Bin目录呢,呵呵。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表