VS for MAC and DocumentDb.Core - BCrypt.DLL missing

Viewed 177

When I get to the line new DocumentClient(new Uri("https://192.168.30.104:10251"), _key) I get a bcrypt.dll not found.
I'm using VS for Mac, latests version and DocumentDb.Core nugget package version 1.3.2 (latest version)...

I took a shot and downgrade to version 1.0.0 but i got the same error...

the stack trace is:

at Microsoft.Azure.Documents.SecureStringHMACSHA256Helper.NativeMethods.BCryptOpenAlgorithmProvider(IntPtr& algorithmHandle, String algorithmId, IntPtr implementation, UInt32 flags)
at Microsoft.Azure.Documents.SecureStringHMACSHA256Helper..ctor(SecureString base64EncodedKey)
at Microsoft.Azure.Documents.Client.DocumentClient..ctor(Uri serviceEndpoint, SecureString authKey, ConnectionPolicy connectionPolicy, Nullable`1 desiredConsistencyLevel)

Edit1
I mailed the code to a friend, and he ran it on regular VS 2017 and there was no error

1 Answers
Related