question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to load BouncyCastle.Crypto, Version = 1.8.1.0

See original GitHub issue

I had problems with DistanceMatrix api in my .Net Framework 4.5 project. When I exec the call for

var response = GoogleMaps.DistanceMatrix.QueryAsync(request).Result;

I had the error below:

Could not load file or assembly 'BouncyCastle.Crypto, Version = 1.8.1.0, Culture = neutral, PublicKeyToken = 0e99375e54769942' or one of its dependencies. The system cannot find the file specified.

I searched in project dependencies and the BrounceCastle.Cripto is there.

Can someone helpe me to solve this problem?

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vivetcommented, Dec 4, 2020

Hi It could be a problem with the NuGet. It’s a long time since I worked with 4.5.

I will check it out

0reactions
vivetcommented, Sep 12, 2021

I have updated the Portable.BouncyCastle to the highest version, that GoogleApi can support for the different frameworks. I have recently worked with net framework 4.8, and in complex solutions this mess often happens. Try look for overrides in the project files and trace the use of the different packages.

I am not sure if there is more I can do, as the problem originates outside this Library. Hope you figure it out

will close issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Could not load file or assembly 'BouncyCastle.Crypto ...
This error says.. BouncyCastle.Crypto.dll file is not exist in the project bin folder. I placed to dll file into the bin folder from...
Read more >
Downloading and Repairing BouncyCastle.Crypto.dll
Learn how to download and replace your correct version of BouncyCastle.Crypto.dll and fix these annoying DLL error messages.
Read more >
[JWT] Error create token when another extension also use ...
I have error creating asymmetric token when I have another extension dependency which also use BouncyCaslte.Crypto.dll. The error stack is:.
Read more >
C# – Could not load file or assembly 'BouncyCastle.Crypto ...
I am trying to integrate the Walmart .NET SDK into a .NET 4.61 MVC 5 app. Using NuGet, I added a reference to...
Read more >
Could not load file or assembly 'BouncyCastle.Crypto
Hello, I have a total license installed on SSRS 2005. When I run a report word I get the following output: Aspose.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found