System.Io.FileLoadException: BCrypt.Net-Next
See original GitHub issueWith the update of netcore 3.0 to version v3.0.0-rc1 BCrypt.Net-Next gives sometimes this error:
Unhandled Exception: System.IO.FileLoadException - System.IO.FileLoadException: Could not load file or assembly 'BCrypt.Net-Next, Version=3.1.3.0, Culture=neutral, Publi
cKeyToken=1e11be04b6288443'. An operation is not legal in the current state. (0x80131509)
File name: 'BCrypt.Net-Next, Version=3.1.3.0, Culture=neutral, PublicKeyToken=1e11be04b6288443'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at AltV.Net.Host.ResourceAssemblyLoadContext.Load(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at Services.ConnectService.GetAccountByCredentialsAsync(String username, String password)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
C# Bcrypt.net-next Nuget assemblyname?
I code a Login so i need to Hash my Password whit BCrypt. I use the Nuget Package for BCrypt.Net-Next. i Follow the...
Read more >FileLoadException Class (System.IO)
Represents the error that occurs when a Assembly file is found but cannot be loaded. The FileNotFoundException exception is thrown when the file...
Read more >BCrypt.Net-Next 4.0.3
A fixed, enhanced and namespace compatible version of BCrypt.Net port of jBCrypt implemented in C#. It uses a variant of the Blowfish ...
Read more >How to Hash Passwords with BCrypt in C#
Hashing a Password using BCrypt. I created a new console application. First, we need to install the BCrypt.Net-Next NuGet package containing the ...
Read more >BCrypt (spring-security-docs 6.1.3 API)
This password hashing system tries to thwart off-line password cracking using a computationally-intensive hashing algorithm, based on Bruce Schneier's ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Chris,
we found out, that the problem is not related to BCrypt itself 😄 but thanks for your fast answer and netcore 3 support!
Issue: https://github.com/FabianTerhorst/coreclr-module/issues/58
Cool; the type of exception seemed unlikely to be related, but hell you never know with a major release. On the upside you pushed me to sort the netstandard 2.1 bit 👍