Updated to net7.0

This commit is contained in:
Tigger Kindel
2023-04-06 09:32:36 -06:00
committed by Tig
parent ad5e25966b
commit f766db7f41
5 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- In the source tree the version will always be 1.0 for all projects. -->
<!-- Do not modify these. -->

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<!-- Version numbers are automatically updated by gitversion when a release is released -->
<!-- In the source tree the version will always be 2.0 for all projects. -->
<!-- Do not modify these. -->

View File

@@ -331,6 +331,7 @@ namespace Unix.Terminal {
#pragma warning disable RCS1102 // Make class static.
internal class Delegates {
#pragma warning restore RCS1102 // Make class static.
#pragma warning disable CS8981 // The type name only contains lower-cased ascii characters. Such names may become reserved for the language.
public delegate IntPtr initscr ();
public delegate int endwin ();
public delegate bool isendwin ();
@@ -555,4 +556,5 @@ namespace Unix.Terminal {
}
}
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
#pragma warning restore CS8981 // The type name only contains lower-cased ascii characters. Such names may become reserved for the language.
}

View File

@@ -77,7 +77,7 @@ The PR title should be of the form "Release v2.3.4"
```powershell
git checkout develop
git pull upstream develop
git checkout -b v_2_3_4
git checkout -b v2_3_4
git add .
git commit -m "Release v2.3.4"
git push

View File

@@ -56,7 +56,7 @@
<PackageReference Include="System.Management" Version="7.0.0" />
</ItemGroup>
<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0;net7.0</TargetFrameworks>
<RootNamespace>Terminal.Gui</RootNamespace>
<AssemblyName>Terminal.Gui</AssemblyName>
<DocumentationFile>bin\Release\Terminal.Gui.xml</DocumentationFile>