What problem does it solve?
NuGet dependency management in .NET projects is error-prone when handled manually; this skill standardizes package updates, enforces the use of the dotnet CLI, and prevents risky direct edits to project files, reducing breakages and drift across solutions.
Core Features & Use Cases
- Enforce using dotnet add package and dotnet remove package for all modifications to package references; direct edits to .csproj, .props, or Directory.Packages.props are avoided.
- Detect whether versions are managed per-project or centrally, and update the appropriate file accordingly, followed by an automatic dotnet restore to validate compatibility.
- Verify target versions exist on NuGet before applying changes and provide clear guidance for rollback if restoration fails.
Quick Start
Update a NuGet package to a specific version using dotnet add package and verify compatibility with dotnet restore.