The sample code in this document Troubleshoot-loading-the-.NET-Debug-Services has an incorrect shared library extension for macOS.
else if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.OSX))
{
nativeLibraryPrefix = "lib";
nativeLibraryExtension = ".so";
}
The nativeLibraryExtension should be .dylib
libmscordaccore.dylib
libmscordbi.dylib