Locally on Windows (.NET Core 2.0) works fine. However, when deployed to aws lambda (.NET Core 2.0) it throws TlsException:
Rebex.Net.TlsException: The type initializer for 'Rebex.b87f' threw an exception. ---> Rebex.Net.TlsException: The type initializer for 'Rebex.b87f' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Rebex._b87f' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Bcrypt.dll': The specified module or one of its dependencies could not be found.
I googled and it seems that it references Windows library.
Can you help to find the reason?