Hi @Todd Lerew ,
Welcome to Microsoft Q&A!
Do you have the package “Microsoft.Data.SqlClient” referenced in your project? You can try to update the package to the latest version.
It may be a known issue with the package “Microsoft.Data.SqlClient”. You can see the following tickets:
Unable to load DLL 'Microsoft.Data.SqlClient.SNI.x86.dll' · Issue #727 · dotnet/SqlClient · GitHub
As a workaround, you can try to directly reference the package “Microsoft.Data.SqlClient” in your executable project. Or manually copy the missing dependency ‘Microsoft.Data.SqlClient.SNI.x64.dll' into the bin folder of your executable project.
If it doesn’t work, I recommend you report it to Product Team in GitHub/SqlClient forum. Thanks for your understanding!
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.