Skip to content

Commit 7c80500

Browse files
committed
Upgrade .NET 8 projects to .NET 9
1 parent 8e07dd6 commit 7c80500

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
<IsPackable>false</IsPackable>
7-
</PropertyGroup>
8-
9-
<ItemGroup>
10-
<ProjectReference Include="$(RepoRoot)/src/EffectiveCSharp.Analyzers/EffectiveCSharp.Analyzers.csproj" />
11-
<PackageReference Include="BenchmarkDotNet" />
12-
<PackageReference Include="BenchmarkDotNet.Diagnostics.dotTrace" />
13-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
14-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" />
15-
</ItemGroup>
16-
2+
<PropertyGroup>
3+
<OutputType>Exe</OutputType>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<IsPackable>false</IsPackable>
6+
</PropertyGroup>
7+
<ItemGroup>
8+
<ProjectReference Include="$(RepoRoot)/src/EffectiveCSharp.Analyzers/EffectiveCSharp.Analyzers.csproj" />
9+
<PackageReference Include="BenchmarkDotNet" />
10+
<PackageReference Include="BenchmarkDotNet.Diagnostics.dotTrace" />
11+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
12+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" />
13+
</ItemGroup>
1714
</Project>
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
54
<IsPackable>false</IsPackable>
65
<IsTestProject>true</IsTestProject>
76
<!-- The CompositeAnalyzer triggers RS1036 -->
87
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
98
</PropertyGroup>
10-
119
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1210
</PropertyGroup>
13-
1411
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
1512
<Optimize>false</Optimize>
1613
</PropertyGroup>
17-
1814
<ItemGroup>
1915
<PackageReference Include="GetPackFromProject">
2016
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -27,5 +23,4 @@
2723
<ItemGroup>
2824
<ProjectReference Include="$(RepoRoot)/src/EffectiveCSharp.Analyzers/EffectiveCSharp.Analyzers.csproj" AddPackageAsOutput="true" />
2925
</ItemGroup>
30-
3126
</Project>

0 commit comments

Comments
 (0)