Aiursoft.NugetNinja.PrBot
9.0.18
dotnet tool install --global Aiursoft.NugetNinja.PrBot --version 9.0.18
dotnet new tool-manifest
dotnet tool install --local Aiursoft.NugetNinja.PrBot --version 9.0.18
#tool dotnet:?package=Aiursoft.NugetNinja.PrBot&version=9.0.18
nuke :add-package Aiursoft.NugetNinja.PrBot --version 9.0.18
Nuget Ninja
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:
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
- .NET 9 SDK
- Execute
dotnet run
to run the app
Run in Microsoft Visual Studio
- Open the
.sln
file in the project path. - 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 | Versions 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
9.0.18 | 130 | 3/20/2025 |
9.0.17 | 127 | 3/13/2025 |
9.0.16 | 143 | 3/12/2025 |
9.0.15 | 92 | 2/28/2025 |
9.0.14 | 96 | 2/26/2025 |
9.0.13 | 84 | 2/24/2025 |
9.0.12 | 82 | 2/23/2025 |
9.0.11 | 93 | 2/14/2025 |
9.0.10 | 101 | 2/13/2025 |
9.0.9 | 102 | 2/12/2025 |
9.0.8 | 102 | 2/1/2025 |
9.0.7 | 92 | 2/1/2025 |
9.0.6 | 91 | 1/28/2025 |
9.0.5 | 87 | 1/17/2025 |
9.0.4 | 80 | 1/16/2025 |
9.0.3 | 61 | 1/15/2025 |
9.0.2 | 107 | 1/1/2025 |
9.0.1 | 94 | 12/31/2024 |
9.0.0 | 89 | 12/30/2024 |
8.0.48 | 99 | 12/30/2024 |
8.0.47 | 103 | 12/24/2024 |
8.0.46 | 92 | 12/1/2024 |
8.0.45 | 123 | 11/12/2024 |
8.0.44 | 107 | 11/10/2024 |
8.0.43 | 106 | 11/2/2024 |
8.0.42 | 103 | 10/29/2024 |
8.0.41 | 91 | 10/28/2024 |
8.0.40 | 94 | 10/26/2024 |
8.0.39 | 101 | 10/25/2024 |
8.0.38 | 122 | 10/24/2024 |
8.0.37 | 106 | 10/11/2024 |
8.0.36 | 98 | 10/10/2024 |
8.0.35 | 97 | 10/9/2024 |
8.0.33 | 93 | 10/7/2024 |
8.0.32 | 90 | 10/7/2024 |
8.0.31 | 100 | 10/2/2024 |
8.0.30 | 106 | 9/27/2024 |
8.0.29 | 105 | 9/23/2024 |
8.0.28 | 111 | 9/14/2024 |
8.0.27 | 124 | 9/2/2024 |
8.0.26 | 129 | 8/31/2024 |
8.0.25 | 136 | 8/20/2024 |
8.0.24 | 133 | 8/18/2024 |
8.0.23 | 108 | 8/1/2024 |
8.0.22 | 120 | 7/15/2024 |
8.0.21 | 99 | 7/10/2024 |
8.0.20 | 126 | 7/8/2024 |
8.0.19 | 126 | 7/7/2024 |
8.0.18 | 116 | 7/1/2024 |
8.0.17 | 126 | 6/29/2024 |
8.0.16 | 124 | 6/27/2024 |
8.0.15 | 117 | 6/17/2024 |
8.0.14 | 108 | 6/14/2024 |
8.0.13 | 104 | 6/13/2024 |
8.0.12 | 106 | 6/9/2024 |
8.0.11 | 115 | 6/8/2024 |
8.0.10 | 117 | 6/5/2024 |
8.0.9 | 122 | 5/16/2024 |
8.0.8 | 147 | 5/4/2024 |
8.0.7 | 286 | 3/28/2024 |
8.0.6 | 302 | 3/17/2024 |
8.0.5 | 334 | 3/17/2024 |
8.0.4 | 290 | 3/17/2024 |
8.0.3 | 338 | 3/15/2024 |
8.0.2 | 411 | 2/28/2024 |
8.0.1 | 401 | 2/19/2024 |
8.0.0 | 514 | 2/19/2024 |
7.0.50 | 435 | 2/15/2024 |
7.0.49 | 521 | 2/5/2024 |
7.0.48 | 452 | 2/4/2024 |
7.0.47 | 504 | 2/4/2024 |
7.0.46 | 437 | 2/3/2024 |
7.0.45 | 454 | 2/2/2024 |
7.0.44 | 527 | 2/2/2024 |
7.0.43 | 410 | 1/30/2024 |
7.0.42 | 466 | 1/30/2024 |
7.0.41 | 428 | 1/30/2024 |
7.0.40 | 700 | 1/4/2024 |
7.0.39 | 570 | 1/4/2024 |
7.0.38 | 632 | 12/31/2023 |
7.0.37 | 656 | 12/30/2023 |
7.0.36 | 747 | 12/24/2023 |
7.0.35 | 592 | 12/24/2023 |
7.0.34 | 631 | 12/23/2023 |
7.0.33 | 609 | 12/22/2023 |
7.0.32 | 670 | 12/16/2023 |
7.0.31 | 615 | 12/12/2023 |
7.0.30 | 620 | 12/12/2023 |
7.0.29 | 663 | 12/12/2023 |
7.0.28 | 665 | 12/6/2023 |
7.0.27 | 803 | 12/6/2023 |
7.0.26 | 650 | 12/6/2023 |
7.0.25 | 522 | 12/6/2023 |
7.0.24 | 719 | 12/3/2023 |
7.0.23 | 681 | 12/1/2023 |
7.0.22 | 769 | 11/26/2023 |
7.0.21 | 585 | 11/26/2023 |
7.0.20 | 694 | 11/26/2023 |
7.0.19 | 640 | 11/25/2023 |
7.0.18 | 633 | 11/24/2023 |
7.0.17 | 603 | 11/24/2023 |
7.0.16 | 791 | 11/22/2023 |
7.0.15 | 719 | 11/12/2023 |
7.0.14 | 729 | 11/2/2023 |
7.0.13 | 688 | 11/2/2023 |
7.0.12 | 760 | 11/2/2023 |
7.0.11 | 630 | 11/2/2023 |
7.0.10 | 678 | 11/2/2023 |
7.0.9 | 856 | 11/2/2023 |
7.0.8 | 703 | 10/31/2023 |
7.0.7 | 827 | 10/6/2023 |
7.0.6 | 823 | 10/6/2023 |
7.0.5 | 818 | 9/23/2023 |
7.0.4 | 887 | 9/18/2023 |
7.0.3 | 913 | 9/14/2023 |
7.0.2 | 899 | 9/13/2023 |
7.0.1 | 777 | 9/13/2023 |
7.0.0 | 552 | 9/6/2023 |
0.0.23 | 810 | 9/5/2023 |
0.0.22 | 865 | 8/23/2023 |
0.0.21 | 876 | 8/22/2023 |
0.0.20 | 840 | 8/20/2023 |
0.0.19 | 767 | 8/20/2023 |
0.0.18 | 845 | 8/20/2023 |
0.0.17 | 916 | 8/20/2023 |
0.0.16 | 869 | 8/20/2023 |
0.0.15 | 983 | 8/20/2023 |
0.0.14 | 744 | 8/20/2023 |
0.0.13 | 745 | 7/20/2023 |
0.0.12 | 967 | 6/24/2023 |
0.0.11 | 963 | 6/11/2023 |
0.0.10 | 762 | 6/11/2023 |
0.0.9 | 902 | 6/10/2023 |
0.0.8 | 797 | 6/10/2023 |
0.0.7 | 945 | 6/7/2023 |
0.0.6 | 858 | 5/25/2023 |
0.0.5 | 860 | 5/17/2023 |
0.0.4 | 956 | 5/17/2023 |
0.0.3 | 771 | 5/17/2023 |
0.0.2 | 815 | 5/11/2023 |
0.0.1 | 549 | 8/30/2022 |