Unable to load DLL 'Microsoft.Data.SqlClient.SNI.dll' or one of its dependencies

Hi @indiedev91

You went down a rabbit hole with this one :sweat_smile:

For some context, in case anyone is still wondering what is wrong here.

To start, our Database package is one of the ones you can check out on this repo (just in case someone is curious; there are other packages on the repo as well, feel free to explore):

As to the above issue itself → there is an issue how this DLL file gets loaded. We are currently working around it in our own package by loading it manually.

See below for a few open issues on the SqlClient side:

2 Likes