Skip to content

Commit 0db120d

Browse files
authored
Merge pull request #3486 from tig/v1_3484-dotnet8
Fixes #3484 (V1) - Updates SDK version to dotnet8, adds `netstandard2.0` and `net8.0` `TargetFrameworks`
2 parents 9735e08 + 5f3898d commit 0db120d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Terminal.Gui/Core/Clipboard/Clipboard.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public static ustring Contents {
5151
Application.Driver.Clipboard.SetClipboardData (value.ToString ());
5252
}
5353
contents = value;
54-
} catch (NotSupportedException e) {
55-
throw e;
54+
} catch (NotSupportedException) {
55+
throw;
5656
} catch (Exception) {
5757
contents = value;
5858
}

Terminal.Gui/Terminal.Gui.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<DebugType>portable</DebugType>
2121
</PropertyGroup>
2222
<PropertyGroup>
23-
<TargetFrameworks>net472;netstandard2.1;net7.0</TargetFrameworks>
23+
<TargetFrameworks>net472;netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks>
2424
<RootNamespace>Terminal.Gui</RootNamespace>
2525
<AssemblyName>Terminal.Gui</AssemblyName>
2626
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>

UICatalog/UICatalog.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>9.0</LangVersion>
66
<StartupObject>UICatalog.UICatalogApp</StartupObject>
77
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
@@ -22,7 +22,7 @@
2222
<ItemGroup>
2323
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.20.1" />
2424
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.4" />
25-
<PackageReference Include="CsvHelper" Version="32.0.2" />
25+
<PackageReference Include="CsvHelper" Version="32.0.3" />
2626
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
2727
</ItemGroup>
2828
<ItemGroup>

UnitTests/UnitTests.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net7.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<!-- https://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types -->
55
<!-- for AutoInitShutdown attribute -->
66
<LangVersion>Preview</LangVersion>
@@ -19,10 +19,10 @@
1919
</PropertyGroup>
2020
<ItemGroup>
2121
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
22-
<PackageReference Include="ReportGenerator" Version="5.2.5" />
22+
<PackageReference Include="ReportGenerator" Version="5.3.4" />
2323
<PackageReference Include="System.Collections" Version="4.3.0" />
24-
<PackageReference Include="xunit" Version="2.8.0" />
25-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
24+
<PackageReference Include="xunit" Version="2.8.1" />
25+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageReference>

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk":{
3-
"version":"7.0.200",
3+
"version":"8.0.204",
44
"rollForward":"latestMinor"
55
}
66
}

0 commit comments

Comments
 (0)