Forcing the ASP.NET Application to load the assembly from bin not from GAC

后端 未结 8 1437
死守一世寂寞
死守一世寂寞 2020-12-15 21:18

Is there any way to force my asp.net application to load the assembly from local bin directory since there is another older version of the assembly with the same name in the

8条回答
  •  情歌与酒
    2020-12-15 21:50

    Instead of using bindingRedirect, you can specify the codebase path. I have a working example with MySQL.Data.dll.

    
        
                
      
    

    This can be done in Web.config of the web application.

提交回复
热议问题