Add net6.0 target to the project.

This commit is contained in:
BDisp
2024-06-25 16:07:15 +01:00
parent fe138f3498
commit 8c3971c7fe
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 || NET8_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>