NuGet/Home

[Feature]: Make dotnet list package work without restore when using lock files

Open

#11.770 geöffnet am 22. Apr. 2022

Auf GitHub ansehen
 (9 Kommentare) (1 Reaktion) (0 zugewiesene Personen)HTML (292 Forks)batch import
Area:RestoreRepeatableBuildFunctionality:ListPackagePriority:3Product:dotnet.exeType:Featurehelp wanted

Repository-Metriken

Stars
 (1.459 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 464T 23h) (1 gemergte PR in 30 T)

Beschreibung

NuGet Product(s) Involved

dotnet.exe

The Elevator Pitch

(Was asked to post this here instead of https://github.com/dotnet/sdk/issues/24194)

We are running dotnet list package (with --vulnerable, --outdated, and --deprecated) in a CI pipeline. This seems to require restoring the projects first. This adds overhead in the pipeline, which seems unnecessary since we use lock files (packages.lock.json) which AFAIK contains all necessary information. I propose allowing dotnet list package to work with the information in lock files, without needing a restore.

Additional Context and Details

No response

Contributor Guide