Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate bad NuGet update for transitive dependency. #11175

Open
brettfo opened this issue Dec 23, 2024 · 0 comments
Open

Investigate bad NuGet update for transitive dependency. #11175

brettfo opened this issue Dec 23, 2024 · 0 comments
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet T: bug 🐞 Something isn't working

Comments

@brettfo
Copy link
Contributor

brettfo commented Dec 23, 2024

From an internal repo:

  • A project has a <PackageReference> to Testcontainers/3.6.0. This pulls in a transitive dependency on System.Text.Json.
  • An update job was run to update System.Text.Json to 6.0.10, but it did some incorrect updates, namely:
    • It added <PackageReference Include="System.Text.Json" /> to pin the transitive dependency in the .csproj, but failed to add the corresponding <PackageVersion> element in Directory.Packages.props resulting in a build error because no package version was specified for System.Text.Json.
    • It updated the <PackageVersion> element for Testcontainers from 3.6.0 to 3.8.0. This update does update the version of System.Text.Json, but not all the way to the desired 6.0.10 version.
@abdulapopoola abdulapopoola added T: bug 🐞 Something isn't working L: dotnet:nuget NuGet packages via nuget or dotnet labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants