Minicon.NugetInventory 1.0.0

There is a newer version of this package available.
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
                    
if you are setting up this repo
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
                    
nuke :add-package Minicon.NugetInventory --version 1.0.0
                    

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?

  • PackageReference in .csproj (Attribut Version, VersionOverride oder <Version>-Element)
  • Central Package Management: PackageVersion und GlobalPackageReference aus Directory.Packages.props (auch in übergeordneten Verzeichnissen)
  • Legacy packages.config neben dem Projekt
  • bin, obj, node_modules, .git, .vs, .idea, packages werden ü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 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.

Version Downloads Last Updated
1.1.0 116 7/6/2026
1.0.0 106 7/2/2026