Merge pull request #3562 from BDisp/v1_2598_self-contained-net80-fix

Fixes #2598. Trying to run self-contained application on Ubuntu 22 (Linux-x64), error regarding libdl.so
This commit is contained in:
Tig
2024-06-26 09:55:22 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -256,7 +256,7 @@ namespace Unix.Terminal {
/// to avoid the dependency on libc-dev Linux.
/// </summary>
static class CoreCLR {
#if NET7_0
#if NET6_0_OR_GREATER
// Custom resolver to support true single-file apps
// (those which run directly from bundle; in-memory).
// -1 on Unix means self-referencing binary (libcoreclr.so)

View File

@@ -20,7 +20,7 @@
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<RootNamespace>Terminal.Gui</RootNamespace>
<AssemblyName>Terminal.Gui</AssemblyName>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>