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
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:
<dependentAssembly>
<assemblyIdentity name="AWSSDK" publicKeyToken="cd2d24cd2bace800" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.5.12.1" newVersion="1.5.12.1" />
</dependentAssembly>
Now, your project should be good to go.
Try to edit .csproj file and remove the Version=1.5.9.1 from line where the assembly awssdk is referenced.