From 60bc27da46486036f83c5fb54e15fa81e529879f Mon Sep 17 00:00:00 2001 From: Bo Thompson Date: Thu, 26 Oct 2023 13:29:07 -0700 Subject: [PATCH] [csharp logging] migrate to .NET 6.0 --- .github/workflows/ci.yml | 3 +-- csharp/Logging/Directory.Build.props | 2 +- csharp/Logging/Logging.Tests/Logging.Tests.csproj | 10 +++++----- csharp/Logging/Logging/Logging.csproj | 7 +------ 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d99dddec..b7933cd30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,7 +205,7 @@ jobs: name: Build C# Logging runs-on: ubuntu-latest container: - image: mcr.microsoft.com/dotnet/sdk:7.0 + image: mcr.microsoft.com/dotnet/sdk:6.0 options: --ulimit core=-1 --ulimit memlock=-1:-1 steps: - name: Checkout the repository @@ -220,7 +220,6 @@ jobs: - name: Build run: | cd csharp/Logging - ./scripts/install-dotnet-3.1.sh ./scripts/clean.sh ./scripts/build.sh - name: Test diff --git a/csharp/Logging/Directory.Build.props b/csharp/Logging/Directory.Build.props index b9ff4fbcf..baace22be 100644 --- a/csharp/Logging/Directory.Build.props +++ b/csharp/Logging/Directory.Build.props @@ -1,5 +1,5 @@ - 0.1.4 + 0.1.5 diff --git a/csharp/Logging/Logging.Tests/Logging.Tests.csproj b/csharp/Logging/Logging.Tests/Logging.Tests.csproj index e1236dac7..156df194c 100644 --- a/csharp/Logging/Logging.Tests/Logging.Tests.csproj +++ b/csharp/Logging/Logging.Tests/Logging.Tests.csproj @@ -1,19 +1,19 @@ - netcoreapp3.1 + net6.0 false GoDaddy.Asherah.Logging.Tests ../StyleCopCustom.ruleset true - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/csharp/Logging/Logging/Logging.csproj b/csharp/Logging/Logging/Logging.csproj index d5038ee47..21602712d 100644 --- a/csharp/Logging/Logging/Logging.csproj +++ b/csharp/Logging/Logging/Logging.csproj @@ -1,6 +1,6 @@ - netstandard2.0;netstandard2.1 + netstandard2.0;netstandard2.1 GoDaddy.Asherah.Logging Logging GoDaddy @@ -20,11 +20,6 @@ - - - - -