Could not load file or assembly 'Microsoft.Practices.Unity'

前端 未结 7 1622
半阙折子戏
半阙折子戏 2021-02-12 23:58

I am trying to upgrade Unity to version (2.1.505.2), but when I run the application I get the following FileLoadException

Could

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-13 00:31

    I wasn't able to correct it by using the EnterpriseLibrary update in the accepted solution. I ended up just overriding the dependent assembly version in the app.config, you could do something similar to force any library that complains about the version to use another version.

    App.config:

      
        
        
      
    

提交回复
热议问题