Skip to content

Commit

Permalink
don't pin system.text.json
Browse files Browse the repository at this point in the history
Error: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "System.Text.Json [9.0.0-rc.2.24473.5, )" or update the version field in the nuspec. [D:\a\malo-ident-net-models\malo-ident-net-models\MaLoIdentModels\MaLoIdentModels\MaLoIdentModels.csproj]
  • Loading branch information
Konstantin committed Oct 10, 2024
1 parent 2f66ba6 commit e118a01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MaLoIdentModels/MaLoIdentModels/MaLoIdentModels.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

<ItemGroup>
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="System.Text.Json" Version="[9.0.0-rc.2.24473.5, )" />
<!-- we need System.Text.Json >= 9 to use the JsonStringEnumMemberNameAttribute -->
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e118a01

Please sign in to comment.