Skip to content

Commit

Permalink
net9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Nov 17, 2024
1 parent 3ae26f7 commit 2547704
Show file tree
Hide file tree
Showing 9 changed files with 1,094 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push, pull_request ]
env:
DOTNET_NOLOGO: 1
NUGET_CERT_REVOCATION_MODE: offline
BUILD_DOTNET_VERSION: 8.0.x
BUILD_DOTNET_VERSION: 9.0.x

jobs:
windows:
Expand Down
3 changes: 2 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project>
<PropertyGroup>
<LangVersion>13.0</LangVersion>
<AnalysisLevel>9.0</AnalysisLevel>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>12.0</LangVersion>
<Prefer32Bit>false</Prefer32Bit>
<DefaultItemExcludes>$(DefaultItemExcludes);*.DotSettings;*.ncrunchproject;BenchmarkDotNet.Artifacts/**</DefaultItemExcludes>
<DebugType>embedded</DebugType>
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace ZeroLog.Analyzers.Tests;
internal static class ZeroLogAnalyzerTest
{
private static readonly ReferenceAssemblies _netReferenceAssemblies = new(
"net8.0",
new PackageIdentity("Microsoft.NETCore.App.Ref", "8.0.0"),
Path.Combine("ref", "net8.0")
"net9.0",
new PackageIdentity("Microsoft.NETCore.App.Ref", "9.0.0"),
Path.Combine("ref", "net9.0")
);

public static void ConfigureTest(AnalyzerTest<DefaultVerifier> test)
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<OutputType>Exe</OutputType>
<NoWarn>$(NoWarn);CS8002</NoWarn>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog.Impl.Full/ZeroLog.Impl.Full.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
<RootNamespace>ZeroLog</RootNamespace>
<Nullable>enable</Nullable>
<DisableFody>true</DisableFody>
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ZeroLog.Tests/ZeroLog.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<NoWarn>$(NoWarn);CS8002</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog/ZeroLog.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net7.0;net6.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;netstandard2.0</TargetFrameworks>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down

0 comments on commit 2547704

Please sign in to comment.