C# driver CSFLE - Could not find: mongocrypt.dll

I have a .NET 4.8 based web service project. I’m having the same problem described in this thread: C Sharp Driver - Cannot find mongocrypt.dll

In the other thread, Wan suggests disabling shadowCopyBinAssemblies in the Web.config file. This does fix the issue, but also introduces build errors (can’t overwrite build binaries because the files are in use by a Visual Studio process).

Is there any other solution or better workaround to this?

Hi, @Brian_Henry2,

Welcome to the MongoDB Community Forums. We were not aware of this issue. Please file an issue in our CSHARP JIRA project along with a repro and we will be happy to investigate further.

Sincerely,
James