Skip to content

Incorrect macOS sample code for troubleshooting failed debug services #8754

@GaryHughes

Description

@GaryHughes

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions