Can I publish a private NuGet package?

stevebot picture stevebot · Jan 25, 2013 · Viewed 57.4k times · Source

I have an assembly that I have made which is very specific to my team at my company. I want to be able to use NuGet to make this assembly avaiable to other projects that my team and similar teams at my company are working on. However, the assembly isn't really code that I want to share with the world.

I know with Maven, you can create local repositories and source packages from a local repo. Does NuGet support similar functionality? Is there a way with NuGet to specify either a local repository or to have private packages?

Answer

Glauco Vinicius picture Glauco Vinicius · Jan 25, 2013

Yes! You can host your own NuGet server!

The easiest way is creating a shared folder on your server and referencing that as your Nuget Server.

You can find more information about how to do that at: Hosting Your Own NuGet Feeds