From 52e6c3f2339df8e9f5b384cd70b6f7b6d1c4c079 Mon Sep 17 00:00:00 2001 From: Chris Pulman Date: Mon, 20 May 2024 01:38:44 +0100 Subject: [PATCH] Feature Add DotNet 8 support --- .../Refit.HttpClientFactory.csproj | 4 ++-- Refit.Newtonsoft.Json/Refit.Newtonsoft.Json.csproj | 5 ++--- Refit.Tests/Refit.Tests.csproj | 14 +++++--------- ...arpIncrementalSourceGeneratorVerifier`1+Test.cs | 3 +-- .../CSharpSourceGeneratorVerifier`1+Test.cs | 4 ++-- Refit.Xml/Refit.Xml.csproj | 2 +- Refit/Refit.csproj | 11 +++++++---- 7 files changed, 20 insertions(+), 23 deletions(-) diff --git a/Refit.HttpClientFactory/Refit.HttpClientFactory.csproj b/Refit.HttpClientFactory/Refit.HttpClientFactory.csproj index 5df74ca3c..4aad7255f 100644 --- a/Refit.HttpClientFactory/Refit.HttpClientFactory.csproj +++ b/Refit.HttpClientFactory/Refit.HttpClientFactory.csproj @@ -1,9 +1,9 @@ - + Refit HTTP Client Factory Extensions Refit HTTP Client Factory Extensions - netstandard2.0;net462;net6.0;net7.0 + net462;netstandard2.0;net6.0;net7.0;net8.0 enable diff --git a/Refit.Newtonsoft.Json/Refit.Newtonsoft.Json.csproj b/Refit.Newtonsoft.Json/Refit.Newtonsoft.Json.csproj index 277de4e82..7c7174142 100644 --- a/Refit.Newtonsoft.Json/Refit.Newtonsoft.Json.csproj +++ b/Refit.Newtonsoft.Json/Refit.Newtonsoft.Json.csproj @@ -3,15 +3,14 @@ Refit Serializer for Newtonsoft.Json ($(TargetFramework)) Refit Serializers for Newtonsoft.Json - netstandard2.0;net462;net6.0;net7.0 + net462;netstandard2.0;netstandard2.1 true Refit enable - - + diff --git a/Refit.Tests/Refit.Tests.csproj b/Refit.Tests/Refit.Tests.csproj index 72bcd9444..074250ac6 100644 --- a/Refit.Tests/Refit.Tests.csproj +++ b/Refit.Tests/Refit.Tests.csproj @@ -1,9 +1,9 @@ - + - net462;net6.0;net7.0 + net462;net6.0;net7.0;net8.0 false https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json @@ -11,7 +11,7 @@ - + @@ -19,8 +19,8 @@ - - + + @@ -29,9 +29,5 @@ - - - - diff --git a/Refit.Tests/Verifiers/CSharpIncrementalSourceGeneratorVerifier`1+Test.cs b/Refit.Tests/Verifiers/CSharpIncrementalSourceGeneratorVerifier`1+Test.cs index be8adea56..2e490360f 100644 --- a/Refit.Tests/Verifiers/CSharpIncrementalSourceGeneratorVerifier`1+Test.cs +++ b/Refit.Tests/Verifiers/CSharpIncrementalSourceGeneratorVerifier`1+Test.cs @@ -4,14 +4,13 @@ using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Testing; using Microsoft.CodeAnalysis.Testing; -using Microsoft.CodeAnalysis.Testing.Verifiers; namespace Refit.Tests { public static partial class CSharpIncrementalSourceGeneratorVerifier where TIncrementalGenerator : IIncrementalGenerator, new() { - public class Test : CSharpSourceGeneratorTest + public class Test : CSharpSourceGeneratorTest { public Test() { diff --git a/Refit.Tests/Verifiers/CSharpSourceGeneratorVerifier`1+Test.cs b/Refit.Tests/Verifiers/CSharpSourceGeneratorVerifier`1+Test.cs index 0f1d672b2..3cc8ffe93 100644 --- a/Refit.Tests/Verifiers/CSharpSourceGeneratorVerifier`1+Test.cs +++ b/Refit.Tests/Verifiers/CSharpSourceGeneratorVerifier`1+Test.cs @@ -2,14 +2,14 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Testing; -using Microsoft.CodeAnalysis.Testing.Verifiers; +using Microsoft.CodeAnalysis.Testing; namespace Refit.Tests { public static partial class CSharpSourceGeneratorVerifier where TSourceGenerator : ISourceGenerator, new() { - public class Test : CSharpSourceGeneratorTest + public class Test : CSharpSourceGeneratorTest { public Test() { diff --git a/Refit.Xml/Refit.Xml.csproj b/Refit.Xml/Refit.Xml.csproj index 097a4b149..9a3c6647e 100644 --- a/Refit.Xml/Refit.Xml.csproj +++ b/Refit.Xml/Refit.Xml.csproj @@ -3,7 +3,7 @@ Refit Xml Serializer ($(TargetFramework)) Refit Serializers for Xml - netstandard2.0;net462;net6.0;net7.0 + net462;netstandard2.0;netstandard2.1 true Refit enable diff --git a/Refit/Refit.csproj b/Refit/Refit.csproj index 47f815c4b..675fbef69 100644 --- a/Refit/Refit.csproj +++ b/Refit/Refit.csproj @@ -1,18 +1,21 @@ - + Refit ($(TargetFramework)) - netstandard2.0;netstandard2.1;net462;net6.0;net7.0 + net462;netstandard2.0;netstandard2.1 true enable - - + + + + +