In Xamarin ios build i am getting the error loading assemblies mongocrypt.dll

I am using MongoDB Driver nuget package version 2.19.1 in Xamarin iOS project and when i try to build i am getting the error error loading assemblies mongocrypt.dll. The last version that was working was 2.10.4.
How do i fix this error with version 2.19.1?

Thanks in advance

Hi, @Balasubramanian_Ramanathan,

Welcome to the MongoDB Community Forums. mongocrypt.dll is an unmanaged DLL implementing features for Client-side Field-Level Encryption (CSFLE) and Queryable Encryption (QE). If you are not using these features, you can exclude the MongoDB.Libmongocrypt NuGet package (which references mongocrypt.dll) from your build process.

Sincerely,
James