Explorar el Código

Updated to net7.0

Tigger Kindel hace 2 años
padre
commit
f766db7f41

+ 1 - 1
Example/Example.csproj

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

+ 1 - 1
ReactiveExample/ReactiveExample.csproj

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

+ 2 - 0
Terminal.Gui/ConsoleDrivers/CursesDriver/binding.cs

@@ -331,6 +331,7 @@ namespace Unix.Terminal {
 #pragma warning disable RCS1102 // Make class static.
 #pragma warning disable RCS1102 // Make class static.
 	internal class Delegates {
 	internal class Delegates {
 #pragma warning restore RCS1102 // Make class static.
 #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 IntPtr initscr ();
 		public delegate int endwin ();
 		public delegate int endwin ();
 		public delegate bool isendwin ();
 		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 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.
 }
 }

+ 1 - 1
Terminal.Gui/README.md

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

+ 1 - 1
Terminal.Gui/Terminal.Gui.csproj

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