How to load specific version of assembly from GAC

前端 未结 1 1518
南笙
南笙 2020-12-12 00:30

For testing purpose I like to load a specific version of an DLL assembly from GAC. However, my program always load the latest version - I think driven by Policy Assemblies.<

相关标签:
1条回答
  • 2020-12-12 00:36

    you probably will have to bypass the publisher policy. Add to your application configuration file to the dependentAssembly

    <publisherPolicy apply="no" />
    

    more info here and here

    0 讨论(0)
提交回复
热议问题