From 08d1a65d945f7d011d719c3a0d9b71437810ddf9 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 3 Dec 2024 15:03:54 +1100 Subject: [PATCH] remove System.Text.Json (#560) --- src/CountryData/CountryData.csproj | 1 - src/Directory.Build.props | 2 +- src/Directory.Packages.props | 1 - src/Tests/Sync.cs | 6 ++++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CountryData/CountryData.csproj b/src/CountryData/CountryData.csproj index ee7f694..64307ec 100644 --- a/src/CountryData/CountryData.csproj +++ b/src/CountryData/CountryData.csproj @@ -7,7 +7,6 @@ - \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 5ea2b1b..0a794dc 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ CS1591 - 6.7.0 + 6.8.0 preview 1.0.0 CountryLocationData, Bogus diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 90f5366..4ac4782 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -12,7 +12,6 @@ - diff --git a/src/Tests/Sync.cs b/src/Tests/Sync.cs index dee0a2b..8e69d7b 100644 --- a/src/Tests/Sync.cs +++ b/src/Tests/Sync.cs @@ -1,4 +1,5 @@ -public class Sync +#if NET9_0 +public class Sync { [Fact] [Trait("Category", "Integration")] @@ -204,4 +205,5 @@ static IDictionary> WriteRows(string jsonPath, List ProcessCountry(string country, List rows, string directory) => CountrySerializer.Serialize(country, rows, directory); -} \ No newline at end of file +} +#endif \ No newline at end of file