fsprojects / fsprojects/Paket

Warning NU1510: PackageReference ***.*** will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary.

Open
#4,307 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs investigation
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

I get quite a few of these warnings when doing dotnet restore when running paket 10.0.0-alpha011 on a net10.0 project.

I guess this is the result of some changes in the .NET 10 SDK, which really aren't a problem. I still want to understand why I get them, and whether we can do some changes i how Paket works to avoid these watnings.

Also mentioned in the .NET 10 issue (#4296 ):

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked .NET 10 issue (#4296) and reproduce the NU1510 warnings using Paket 10.0.0-alpha011, a net10.0 project, and dotnet restore. Determine whether Paket can avoid or explain these warnings, then verify the behavior with the relevant restore workflow; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.