Minicon.NugetInventory
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Minicon.NugetInventory --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Minicon.NugetInventory --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Minicon.NugetInventory&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Minicon.NugetInventory --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Minicon.NugetInventory
Ein dotnet-Tool, das ein Verzeichnis rekursiv nach C#-Projekten durchsucht, alle verwendeten NuGet-Pakete in allen verwendeten Versionen einsammelt, die Paketbeschreibungen von nuget.org lädt und das Ergebnis als CSV speichert.
Installation
dotnet tool install --global Minicon.NugetInventory
Verwendung
nuget-inventory <verzeichnis> [Optionen]
| Option | Beschreibung |
|---|---|
-o, --output <datei> |
Pfad der CSV-Ausgabedatei (Standard: nuget-packages.csv) |
-d, --delimiter <zeichen> |
CSV-Trennzeichen (Standard: ;, passend für Excel/DE) |
--no-descriptions |
Keine Beschreibungen von nuget.org laden (offline) |
-h, --help |
Hilfe anzeigen |
Beispiel
nuget-inventory ~/RiderProjects/MeineSolution -o pakete.csv
Ausgabe (pakete.csv):
| PackageId | Version | Projects | Description |
|---|---|---|---|
| Newtonsoft.Json | 13.0.3 | Api/Api.csproj | Core/Core.csproj | Json.NET is a popular... |
| Newtonsoft.Json | 12.0.1 | Legacy/Legacy.csproj | Json.NET is a popular... |
Was wird erkannt?
PackageReferencein.csproj(AttributVersion,VersionOverrideoder<Version>-Element)- Central Package Management:
PackageVersionundGlobalPackageReferenceausDirectory.Packages.props(auch in übergeordneten Verzeichnissen) - Legacy
packages.configneben dem Projekt bin,obj,node_modules,.git,.vs,.idea,packageswerden übersprungen
Jede Paket/Version-Kombination ergibt eine CSV-Zeile inklusive der Projekte, die sie verwenden. Die CSV wird als UTF-8 mit BOM geschrieben, damit Excel Umlaute korrekt darstellt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.