Browse Source

Use custom resolver for libcoreclr.so also for .NET 6.0 (#1574)

* Use custom resolver for libcoreclr.so also for .NET 6.0

* Implement suggested changes
henrikx 3 years ago
parent
commit
24bdaad9d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/ConsoleDrivers/CursesDriver/UnmanagedLibrary.cs

+ 1 - 1
Terminal.Gui/ConsoleDrivers/CursesDriver/UnmanagedLibrary.cs

@@ -258,7 +258,7 @@ namespace Unix.Terminal {
 		/// </summary>
 		/// </summary>
 		static class CoreCLR
 		static class CoreCLR
 		{
 		{
-#if NET5_0
+#if NET6_0
 			// Custom resolver to support true single-file apps
 			// Custom resolver to support true single-file apps
 			// (those which run directly from bundle; in-memory).
 			// (those which run directly from bundle; in-memory).
 			//     -1 on Unix means self-referencing binary (libcoreclr.so)
 			//     -1 on Unix means self-referencing binary (libcoreclr.so)