I don't know the reason but it might be because macOS was recently updated to 10.13.1 (17B48)
. The code that used to worked some weeks ago just crash with this error
"Unable to load DLL 'Crypt32.dll': The specified module could not be found.\n (Exception from HRESULT: 0x8007007E)"
It only happen in macos and not the production platform (docker linux). And it got thrown from the lambda.GetFunctionConfigurationAsync
The import config is <PackageReference Include="AWSSDK.Lambda" Version="3.3.*" />
and restored as AWSSDK.Core 3.3.19
dotnet --info .NET Command Line Tools (2.1.0-preview1-006547)
Product Information: Version: 2.1.0-preview1-006547 Commit SHA-1 hash: 3471d43796
Runtime Environment: OS Name: Mac OS X OS Version: 10.13 OS Platform: Darwin RID: osx.10.12-x64 Base Path: /usr/local/share/dotnet/sdk/2.1.0-preview1-006547/
Microsoft .NET Core Shared Framework Host
Version : 2.0.3 Build : a9190d4a75f4a982ae4b4fa8d1a24526566c69df