Aiursoft.NugetNinja.PrBot 9.0.29

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Aiursoft.NugetNinja.PrBot --version 9.0.29
                    
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 Aiursoft.NugetNinja.PrBot --version 9.0.29
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Aiursoft.NugetNinja.PrBot&version=9.0.29
                    
nuke :add-package Aiursoft.NugetNinja.PrBot --version 9.0.29
                    

Nuget Ninja

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.NugetNinja) NuGet version (Aiursoft.NugetNinja.PrBot) ManHours

Nuget Ninja is a tool for detecting dependencies of .NET projects. It analyzes the dependency structure of .NET projects in a directory and builds a directed acyclic graph. And will give some modification suggestions for Nuget packages, so that the dependencies of the project are as concise and up-to-date as possible.

Installation

Requirements:

  1. .NET 9 SDK

Run the following command to install this tool:

dotnet tool install --global Aiursoft.NugetNinja

Usage

After getting the binary, run it directly in the terminal.

C:\workspace> ninja.exe

Description:
  A tool for detecting dependencies of .NET projects.

Usage:
  ninja [command] [options]

Options:
  -p, --path <path> (REQUIRED)                     Path of the projects to be changed.
  -d, --dry-run                                    Preview changes without actually making them
  -v, --verbose                                    Show detailed log
  --allow-preview                                  Allow using preview versions of packages from Nuget.
  --nuget-server <nuget-server>                    If you want to use a customized nuget server instead of the official nuget.org, you can set it with a value like: https://nuget.myserver/v3/index.json
  --token <token>                                  The PAT token which has privilege to access the nuget server. See: 
                                                   https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
  --allow-package-version-cross-microsoft-runtime  Allow using NuGet package versions for different Microsoft runtime versions. For example, when using runtime 6.0, it will avoid upgrading packages to 7.0.
  --version                                        Show version information
  -?, -h, --help                                   Show help and usage information

Commands:
  all, all-officials  The command to run all officially supported features.
  fill-properties     The command to fill all missing properties for .csproj files.
  remove-deprecated   The command to replace all deprecated packages to new packages.
  upgrade-pkg         The command to upgrade all package references to possible latest and avoid conflicts.
  clean-pkg           The command to clean up possible useless package references.
  clean-prj           The command to clean up possible useless project references.
  visualize           The command to visualize the dependency relationship, with mermaid markdown.
  expect-files        The command to search for all expected files and add patch the content.

Sample

Generate suggestions for the current workspace without modifying local files:

C:\workspace> ninja.exe all --path . --dry-run

Fill missing properties for current workspace:

C:\workspace> ninja.exe fill-properties --path .

Run all plugins under the current folder:

C:\workspace> ninja.exe all --path .

Run locally

Requirements about how to run

  1. .NET 9 SDK
  2. Execute dotnet run to run the app

Run in Microsoft Visual Studio

  1. Open the .sln file in the project path.
  2. Press F5.

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
9.0.32 88 7/11/2025
9.0.30 115 7/9/2025
9.0.29 135 6/18/2025
9.0.28 133 6/17/2025
9.0.26 289 6/12/2025
9.0.25 282 6/11/2025
9.0.24 142 6/3/2025
9.0.23 139 6/2/2025
9.0.22 109 5/18/2025
9.0.21 154 4/11/2025
9.0.20 190 4/10/2025
9.0.19 182 4/9/2025
9.0.18 167 3/20/2025
9.0.17 169 3/13/2025
9.0.16 187 3/12/2025
9.0.15 121 2/28/2025
9.0.14 133 2/26/2025
9.0.13 121 2/24/2025
9.0.12 115 2/23/2025
9.0.11 128 2/14/2025
9.0.10 145 2/13/2025
9.0.9 137 2/12/2025
9.0.8 132 2/1/2025
9.0.7 120 2/1/2025
9.0.6 128 1/28/2025
9.0.5 113 1/17/2025
9.0.4 107 1/16/2025
9.0.3 100 1/15/2025
9.0.2 142 1/1/2025
9.0.1 117 12/31/2024
9.0.0 114 12/30/2024
8.0.48 129 12/30/2024
8.0.47 132 12/24/2024
8.0.46 118 12/1/2024
8.0.45 154 11/12/2024
8.0.44 136 11/10/2024
8.0.43 136 11/2/2024
8.0.42 132 10/29/2024
8.0.41 119 10/28/2024
8.0.40 116 10/26/2024
8.0.39 128 10/25/2024
8.0.38 148 10/24/2024
8.0.37 134 10/11/2024
8.0.36 125 10/10/2024
8.0.35 121 10/9/2024
8.0.33 125 10/7/2024
8.0.32 119 10/7/2024
8.0.31 124 10/2/2024
8.0.30 131 9/27/2024
8.0.29 132 9/23/2024
8.0.28 136 9/14/2024
8.0.27 150 9/2/2024
8.0.26 154 8/31/2024
8.0.25 164 8/20/2024
8.0.24 160 8/18/2024
8.0.23 133 8/1/2024
8.0.22 140 7/15/2024
8.0.21 133 7/10/2024
8.0.20 149 7/8/2024
8.0.19 156 7/7/2024
8.0.18 138 7/1/2024
8.0.17 161 6/29/2024
8.0.16 151 6/27/2024
8.0.15 148 6/17/2024
8.0.14 135 6/14/2024
8.0.13 125 6/13/2024
8.0.12 131 6/9/2024
8.0.11 136 6/8/2024
8.0.10 139 6/5/2024
8.0.9 150 5/16/2024
8.0.8 183 5/4/2024
8.0.7 319 3/28/2024
8.0.6 323 3/17/2024
8.0.5 360 3/17/2024
8.0.4 322 3/17/2024
8.0.3 360 3/15/2024
8.0.2 434 2/28/2024
8.0.1 422 2/19/2024
8.0.0 534 2/19/2024
7.0.50 459 2/15/2024
7.0.49 549 2/5/2024
7.0.48 473 2/4/2024
7.0.47 528 2/4/2024
7.0.46 454 2/3/2024
7.0.45 477 2/2/2024
7.0.44 551 2/2/2024
7.0.43 434 1/30/2024
7.0.42 484 1/30/2024
7.0.41 450 1/30/2024
7.0.40 724 1/4/2024
7.0.39 598 1/4/2024
7.0.38 659 12/31/2023
7.0.37 681 12/30/2023
7.0.36 769 12/24/2023
7.0.35 617 12/24/2023
7.0.34 654 12/23/2023
7.0.33 629 12/22/2023
7.0.32 695 12/16/2023
7.0.31 639 12/12/2023
7.0.30 648 12/12/2023
7.0.29 683 12/12/2023
7.0.28 679 12/6/2023
7.0.27 818 12/6/2023
7.0.26 658 12/6/2023
7.0.25 527 12/6/2023
7.0.24 726 12/3/2023
7.0.23 687 12/1/2023
7.0.22 781 11/26/2023
7.0.21 598 11/26/2023
7.0.20 705 11/26/2023
7.0.19 652 11/25/2023
7.0.18 640 11/24/2023
7.0.17 608 11/24/2023
7.0.16 800 11/22/2023
7.0.15 733 11/12/2023
7.0.14 740 11/2/2023
7.0.13 701 11/2/2023
7.0.12 766 11/2/2023
7.0.11 636 11/2/2023
7.0.10 692 11/2/2023
7.0.9 861 11/2/2023
7.0.8 714 10/31/2023
7.0.7 840 10/6/2023
7.0.6 837 10/6/2023
7.0.5 831 9/23/2023
7.0.4 902 9/18/2023
7.0.3 925 9/14/2023
7.0.2 912 9/13/2023
7.0.1 789 9/13/2023
7.0.0 567 9/6/2023
0.0.23 830 9/5/2023
0.0.22 891 8/23/2023
0.0.21 897 8/22/2023
0.0.20 865 8/20/2023
0.0.19 787 8/20/2023
0.0.18 867 8/20/2023
0.0.17 934 8/20/2023
0.0.16 885 8/20/2023
0.0.15 1,006 8/20/2023
0.0.14 770 8/20/2023
0.0.13 763 7/20/2023
0.0.12 994 6/24/2023
0.0.11 983 6/11/2023
0.0.10 787 6/11/2023
0.0.9 928 6/10/2023
0.0.8 822 6/10/2023
0.0.7 969 6/7/2023
0.0.6 879 5/25/2023
0.0.5 883 5/17/2023
0.0.4 981 5/17/2023
0.0.3 798 5/17/2023
0.0.2 839 5/11/2023
0.0.1 570 8/30/2022