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 issue when NuGet updater pins a transitive dependency #11292

Open
brettfo opened this issue Jan 14, 2025 · 0 comments
Open

Investigate issue when NuGet updater pins a transitive dependency #11292

brettfo opened this issue Jan 14, 2025 · 0 comments
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet

Comments

@brettfo
Copy link
Contributor

brettfo commented Jan 14, 2025

Scenario seen in an internal conversation.

A transitive dependency needed to be pinned to a specific version in project.csproj, but the repo was using Central Package Management and the corresponding entry in Directory.Packages.props was missing.

E.g., the following change was made in project.csproj

 ...
+<PackageReference Include="Some.Transitive.Dependency" />
 ...

However the following change was expected, but not made in `Directory.Packages.props

 ...
+<PackageVersion Include="Some.Transitive.Dependency" Version="1.2.3" />
 ...
@brettfo brettfo added the L: dotnet:nuget NuGet packages via nuget or dotnet label Jan 14, 2025
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
Projects
Status: No status
Development

No branches or pull requests

1 participant