http://www.sqlservercentral.com/blogs/nycnet/2013/06/05/how-to-make-your-dll-into-a-nuget-package-for-a-private-nuget-feed/

Printed 2014/12/22 08:31PM

How To Make Your DLL Into A NuGet Package for a Private NuGet Feed

By nycdotnet, 2013/06/05

This is my reinterpretation of the documentation on NuGet.org, modified to remove the public publishing steps, and to add local publishing steps and a source control reminder.  This guide is intended to help enable the benefits of NuGet for proprietary code such as business-specific DLLs that are not fit for public distribution.  There are plenty of details, options, features, and gotchas with NuGet that are not covered here, but this should hopefully be enough to help you get started.

Step 1 is to set up a private NuGet feed.  You only need to do this once for your organization.

Step 2 is to write a cool or useful library (such as a DLL) in Visual Studio.

Step 3 is to get the NuGet.exe file which is not included by default even if you have NuGet Package Explorer working in Visual Studio.

Step 4 is to set up NuGet in your solution.

Step 5 is to package up your project.

Step 6 is to copy your .nupkg file to the shared folder that you set up in step 1.

Step 7 is to begin using your freshly created NuGet package in your team's other projects!


Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.