diff --git a/src/log4net/Util/NativeMethods.cs b/src/log4net/Util/NativeMethods.cs index 339a5427..88e43c4c 100644 --- a/src/log4net/Util/NativeMethods.cs +++ b/src/log4net/Util/NativeMethods.cs @@ -139,11 +139,7 @@ internal static extern int FormatMessage( /// Stub for OutputDebugString native method /// /// the string to output -#if NETSTANDARD2_0_OR_GREATER - [DllImport("CoreDll.dll")] -#else [DllImport("Kernel32.dll")] -#endif [DefaultDllImportSearchPaths(DllImportSearchPath.System32)] internal static extern void OutputDebugString(string message);