Skip to content

Commit 3c4ea91

Browse files
Merge pull request #39 from brian-reichle/net9
Update to net9.0 and C#13.
2 parents 6fd8233 + 6b4765f commit 3c4ea91

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ csharp_new_line_between_query_expression_clauses = true
9898

9999
dotnet_diagnostic.CA1510.severity = none
100100

101+
# This is a nonsense requirement.
102+
dotnet_diagnostic.IDE0130.severity = none
103+
101104
dotnet_diagnostic.NUnit1028.severity = warning
102105
dotnet_diagnostic.NUnit2001.severity = warning
103106
dotnet_diagnostic.NUnit2002.severity = warning

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v4
25-
- name: Setup .NET Core 6.0
25+
- name: Setup .NET Core 8.0
2626
if: matrix.configuration == 'Debug'
2727
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: 6.0.402
30-
- name: Setup .NET Core 8.0
29+
dotnet-version: 8.0.400
30+
- name: Setup .NET Core 9.0
3131
uses: actions/setup-dotnet@v4
3232
with:
33-
dotnet-version: 8.0.200
33+
dotnet-version: 9.0.100
3434
- name: Build TypeNameInterpretation
3535
run: dotnet build src --configuration ${{ matrix.configuration }}
3636
- name: Run Tests

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CS1591 - Missing XML comment.
1212
-->
1313
<WarningsNotAsErrors>618,1030,1701,1702</WarningsNotAsErrors>
1414
<NoWarn>1591</NoWarn>
15-
<LangVersion>12.0</LangVersion>
15+
<LangVersion>13.0</LangVersion>
1616
<Nullable>enable</Nullable>
1717
<WTGAnalyzersWarnAll>true</WTGAnalyzersWarnAll>
1818

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.200",
3+
"version": "9.0.100",
44
"rollForward": "latestPatch"
55
}
66
}

src/TypeNameInterpretation.Benchmark/TypeNameInterpretation.Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
</PropertyGroup>

src/TypeNameInterpretation.Test/TypeNameInterpretation.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net472;net8.0;net9.0</TargetFrameworks>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">

src/TypeNameInterpretation/TypeNameInterpretation.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net8.0;net9.0</TargetFrameworks>
44
<Description>A library to parse, rewrite &amp; format dotnet's qualified type/assembly names.</Description>
55
<IncludeSymbols>true</IncludeSymbols>
66
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
@@ -30,8 +30,6 @@
3030
<Choose>
3131
<When Condition="'$(TargetFramework)' == 'net8.0'">
3232
</When>
33-
<When Condition="'$(TargetFramework)' == 'net6.0'">
34-
</When>
3533
<When Condition="'$(TargetFramework)' == 'netstandard2.1'">
3634
<ItemGroup>
3735
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />

0 commit comments

Comments
 (0)