运行时如何定位程序集。

下面的示例说明如何指定运行时应搜索的目录。

 
 
<configuration>
   <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
         <probing privatePath="bin;bin2\subbin;bin3"/>
      </assemblyBinding>
   </runtime>
</configuration>

 中指定的目录必须是应用程序基目录的子目录。

相关文章:

  • 2021-07-10
  • 2021-06-23
  • 2022-12-23
  • 2021-06-11
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2021-06-06
  • 2021-08-29
  • 2021-06-23
  • 2022-01-07
  • 2021-11-29
相关资源
相似解决方案