lr-nuget-update 2025.12.30.343
lr-nuget-update
A simple tool to keep your NuGet packages up to date when using Central Package Management (Directory.Packages.props).
What it does
This tool scans your solution for all projects and their package dependencies. It then checks NuGet for newer versions and updates your Directory.Packages.props file.
- Centralized: It works with
Directory.Packages.props. If you don't have one yet, it will create it for you and move your solution toward Central Package Management. - Safe updates: By default, it only updates to the latest version within the same Major version. This helps avoid breaking changes while keeping you on the latest bug fixes and minor features.
- Smart discovery: You can run it from anywhere inside your project. It will look at your current directory and if it doesn't find a solution file, it climbs up the folder tree until it finds one.
How to use it
The easiest way to run it without manually installing it is using dnx:
dnx -y lr-nuget-update
If you want to run it against a specific directory instead of your current one, just pass the path:
dnx -y lr-nuget-update ./path/to/your/project
What happens when you run it?
- Solution Search: It finds your
.slnfile (searching upwards if needed). - Project Scan: It finds all
.csprojfiles in your solution. - Version Check: It pulls the current versions from
Directory.Packages.propsand checks against your configured NuGet sources (including private ones if you have them innuget.config). - Update: It writes the new versions back to
Directory.Packages.props. - Solution Integration: It makes sure
Directory.Packages.propsis actually visible in your solution items so you can edit it easily in your IDE.
Requirements
- .NET 10.0 or later.
- A project using or moving to Central Package Management.
This package has no dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 2026.1.29.2106 | 3 | 01/29/2026 |
| 2026.1.6.2043 | 5 | 01/06/2026 |
| 2025.12.30.415 | 3 | 12/30/2025 |
| 2025.12.30.413 | 2 | 12/30/2025 |
| 2025.12.30.352 | 3 | 12/30/2025 |
| 2025.12.30.346 | 3 | 12/30/2025 |
| 2025.12.30.343 | 2 | 12/30/2025 |
| 2025.12.30.337 | 2 | 12/30/2025 |