How drake53/nugetpush works
Project type and purpose
• This is a .NET desktop application (WinForms) with a companion Console tool and a shared core library.
• Purpose: scan a .sln, show class-library projects and their versions, package them (.nupkg/.snupkg) to a local source, and optionally push them to a remote NuGet feed (with authentication support).
File structure
• Top-level solution (NuGetPush.sln, NuGetPush.WinForms.slnf) and common props/rulesets.
• src/NuGetPush: the core library (Models, Enums, Helpers, Extensions, Processes) exposing domain logic and MSBuild/Process wrappers.
• src/NuGetPush.Console: a console-based entry point that reuses the core library.
• src/NuGetPush.WinForms: the WinForms UI (Forms, Controls, Helpers, Models, Extensions) that depends on the core library.
• Configuration files (nuget.config expectations, packagesources.json), build scripts, stylecop.json.
README for additional insights
• Workflow: open solution → choose local/remote source → read projects via MSBuild API → display versions → pack and/or push.
• Uses MSBuild APIs, dotnet pack, external executables (dotnet, git), and optional credential plugins for Azure Artifacts.