walmartlabs / partnerapi_sdk_dotnet

Walmart Partner API SDK for .NET
Other
15 stars 16 forks source link

BouncyCastle.Crypto #1

Closed jmawebtech closed 6 years ago

jmawebtech commented 6 years ago

Hi,

I use .NET 4.61 and MVC 5. I receive this error:

{"Could not load file or assembly 'BouncyCastle.Crypto, Version=1.8.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"BouncyCastle.Crypto, Version=1.8.1.0, Culture=neutral, PublicKeyToken=null"}

I have referenced the .NET version of 1.8.1.0. Am I missing a file?

jmawebtech commented 6 years ago

I had to use the .NET 46 solution. The Walmart.Sdk.Base assembly is built on .NET Standard 1.3. I needed to reference the one for .NET 4.6.