Skip to content

Commit

Permalink
Ensure we're using patched versions of System.Text.Json for the respe…
Browse files Browse the repository at this point in the history
…ctive target frameworks.
  • Loading branch information
jonsagara committed Nov 19, 2024
1 parent 14fdcb1 commit b52fc5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>13.0</LangVersion>

<!-- NuGet -->
<Version>3.1.0</Version>
<Version>3.1.1</Version>
<AssemblyVersion>3.1.0</AssemblyVersion>
<FileVersion>3.1.0</FileVersion>
<Authors>Jon Sagara</Authors>
Expand Down
8 changes: 8 additions & 0 deletions src/Sagara.Core/Sagara.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
<PackageReference Include="NodaTime" Version="3.2.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="System.Text.Json" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
<Compile Update="Validation\ValidationHelperResources.Designer.cs">
<DesignTime>True</DesignTime>
Expand Down

0 comments on commit b52fc5d

Please sign in to comment.