is it possible to ignore assembly manifest mismatch?

后端 未结 2 1773
忘掉有多难
忘掉有多难 2021-01-17 22:43

I am trying to use a couple of libraries in my asp.net website that I pulled in using NuGet.

Problem is I am getting this error:

Could not load file          


        
2条回答
  •  独厮守ぢ
    2021-01-17 23:15

    The latest (1.5.13.0) AWSSDK release seems to have been signed with a different key than the previous releases. So unfortunately a bindingRedirect won't work.

    Proceed as follows:

    Open the package manager console (Tools > Library Package Manager > Package Manager Console) and type:

    PM> Uninstall-Package -Force AWSSDK
    

    followed by:

    PM> Install-Package AWSSDK -Version 1.5.12.1
    

    Then double check your web.config file. Make sure that it only contains the following binding redirect for AWSSDK:

    
        
        
    
    

    Now, your project should be good to go.

提交回复
热议问题