Publishing executables and websites with NuGet Publishing executables and websites with NuGet asp.net asp.net

Publishing executables and websites with NuGet


We are using Octopus Deploy by Paul Stovell, an automated deployment tool which pulls from a Nuget feed and distributes your application using a central dashboard.

We also have some msbuild scripts following the conventions on his site which tell you how to build the nuget files.

Apparently, the latest version of Teamcity (EAP) can automatically package your artifacts to nuget packages and act as a NuGet server.

We have had much success using both TC and Octopus Deploy for automated build and deployment.


NuGet was not meant for tools/applications/executables. It is meant for things that go into the source and working with the source. Where NuGet stops, Chocolatey comes in. You can also use Octopus for conventional deployment, see the answer in this question with Octopus Deploy. You can also integrate Chocolatey with Octopus.

Chocolatey will have better support for packaging up websites and getting them installed as websites in the future. At the time of this answer it doesn't yet have a built in function for installing a web application.


I've been preparing the Nuget setup in our company for distributing our libraries to our developers.

The thing with Nuget is, you can do a lot of things, but is it worth the effort to make it do something it not really intended for.

Seems easier to use other software like CruiseControl or something similar to distribute finished programs and websites.

Most of the custom things you can do with Nuget, can only be used inside Visual Studio.

May be you can also look at Chocolatey ( an adaption for Nuget for installing Applications)