Referencing different versions of the same assembly

前端 未结 5 1411
忘了有多久
忘了有多久 2020-12-08 19:45

If A references assembly B 1.1 and C, and C references B 1.2, how do you avoid assembly conflicts?

I nievely assumed C\'s references would be encapsulated away and w

5条回答
  •  萌比男神i
    2020-12-08 20:23

    You can add a bindingRedirect element to your configuration file to specify which version of the assembly you want to use at runtime.

    
       
          
             
                
                
             
          
       
    
    

提交回复
热议问题