Skip to content

Commit

Permalink
remove System.Text.Json (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Dec 3, 2024
1 parent 94c67d6 commit 08d1a65
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/CountryData/CountryData.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<EmbeddedResource Include="..\..\Data\countryInfo.json.txt" Link="countryInfo.json.txt" />
<EmbeddedResource Condition="Exists('..\..\Data\postcodes.zip')" Include="..\..\Data\postcodes.zip" Link="postcodes.zip" />
<PackageReference Include="System.IO.Compression.ZipFile" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="ProjectDefaults" PrivateAssets="all" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591</NoWarn>
<Version>6.7.0</Version>
<Version>6.8.0</Version>
<LangVersion>preview</LangVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
<PackageTags>CountryLocationData, Bogus</PackageTags>
Expand Down
1 change: 0 additions & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<PackageVersion Include="System.IO.Compression" Version="4.3.0" />
<PackageVersion Include="System.IO.Compression.ZipFile" Version="4.3.0" />
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" />
<PackageVersion Include="Verify.XunitV3" Version="28.3.2" />
<PackageVersion Include="xunit.v3" Version="0.7.0-pre.15" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0-pre.49" />
Expand Down
6 changes: 4 additions & 2 deletions src/Tests/Sync.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
public class Sync
#if NET9_0
public class Sync
{
[Fact]
[Trait("Category", "Integration")]
Expand Down Expand Up @@ -204,4 +205,5 @@ static IDictionary<string, List<State>> WriteRows(string jsonPath, List<IGroupin

static List<State> ProcessCountry(string country, List<PostCodeRow> rows, string directory) =>
CountrySerializer.Serialize(country, rows, directory);
}
}
#endif

0 comments on commit 08d1a65

Please sign in to comment.