NuGet.Packer icon indicating copy to clipboard operation
NuGet.Packer copied to clipboard

Integrate NuGet.Packer into Visual Studio via an extension

Open jchadwick opened this issue 9 years ago • 1 comments

Per @mayerwin in #9:

Publishing a Visual Studio extension that would piggyback on NuGet.Packer (if found present in project files), to provide the functionality of manually generating/publishing the package file with a contextual menu item on the project ("Generate NuGet package", "Generate and publish NuGet package", the latter only if the appropriate publishing credentials are available). And if supported by Visual Studio extensibility framework, expose the NuGet.Packer configuration options as a new tab in the project window (easier to modify than editing the csproj file directly). As a reference, Create New NuGet Package From Project After Each Build is one other extension that seems to be trying to achieve the same results, though I prefer the more invisible (but not less configurable) approach of NuGet.Packer.

jchadwick avatar Nov 07 '16 04:11 jchadwick

This is a pretty awesome idea!

Perhaps the biggest driver of NuGet.Packer is that it is an extension to the VS project itself: an MSBuild-only implementation that does not require a VS extension in order to run the same exact way when building in either Visual Studio or calling MSBuild directly from the command line (like on a build server).

Creating a Visual Studio extension to make adding NuGet.Packer to a project easier certainly would not violate that. Should be pretty simple, too... so I say let's do it!

jchadwick avatar Nov 07 '16 04:11 jchadwick