瀏覽代碼

Update target framework from .net 6 to .net 8

.net 6 support status ends in a few weeks, so this commit bumps the target framework to the next LTS: .net 8, whose support ends in 2 years.

https://endoflife.date/dotnet
Nick Babcock 6 月之前
父節點
當前提交
0ff4716932
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      OhmGraphite.Test/OhmGraphite.Test.csproj
  2. 1 1
      OhmGraphite/OhmGraphite.csproj

+ 1 - 1
OhmGraphite.Test/OhmGraphite.Test.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net6.0</TargetFramework>
+    <TargetFramework>net8.0</TargetFramework>
     <LangVersion>8</LangVersion>
   </PropertyGroup>
 

+ 1 - 1
OhmGraphite/OhmGraphite.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>Exe</OutputType>
-    <TargetFramework>net6.0</TargetFramework>
+    <TargetFramework>net8.0</TargetFramework>
     <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
     <PublishSingleFile>true</PublishSingleFile>
     <SelfContained>true</SelfContained>