System wide dependencies is fundamentally an awful idea that is wrong and you should never ever do it.

All dependencies should be vendored into your project.

This is the answer. I don’t know what is the best practise but for windows the easiest solution is to put the DLL in the same directory as the exe