NuGet Central Package Management: como criei uma dotnet tool pra limpar o lixo que ninguém limpa

📰 Dev.to · Alberto Monteiro

Learn how to create a dotnet tool to clean up unused NuGet packages in your .NET solution

intermediate Published 24 Mar 2026
Action Steps
  1. Create a new dotnet tool project using the dotnet cli
  2. Configure the project to target the NuGet package manager
  3. Write code to scan the solution for unused NuGet packages
  4. Implement a cleaning mechanism to remove unused packages
  5. Test the tool with a sample solution
Who Needs to Know This

Developers and DevOps teams working with .NET can benefit from this tool to improve solution maintenance and reduce clutter

Key Insight

💡 Unused NuGet packages can clutter your solution and slow down build times, a custom dotnet tool can help automate the cleanup process

Share This
💡 Clean up your #NET solution with a custom dotnet tool!

Key Takeaways

Learn how to create a dotnet tool to clean up unused NuGet packages in your .NET solution

Full Article

Fala galera, tudo beleza?! Se você trabalha com .NET e tem uma solution com mais do que meia dúzia...
Read full article → ← Back to Reads