How can I create a NuGet Package from a DLL

First, use NuGet Package Explorer:
  1. Download the NuGet Package Explorer.
  2. Then, open the NuGet PackageSelect the Explorer CreateA new Package.
  3. You can add your lib folder to the content tab. Dlls file.
  4. Save the PackageInstall it to your project and check for references.

How can I create a NuGet Package from a Visual Studio 2017 DLL?

You can configure Visual StudioYou can do it automatically CreateThe NuGet packageWhen you BauenThe project.
  1. Right-click the project to open Solution Explorer. Choose Properties.
  2. The PackageTab, select Generate NuGet packageOn Bauen.

How can I create an NuGet package locally

Here’s how to get there:
  1. Select Options from the Tools menu. This will open the Options dialog box.
  2. Find NuGet Package Manager .
  3. Select PackageSources
  4. Click the green plus button.
  5. Change Name to something helpful (such as Local Feed).
  6. You can set Source to the path mentioned above, such that C:totallylocal–nuget-feed .
  7. Click “Update.”

How can I create a NuGet package

This article
  1. Choose which assemblies you want Package.
  2. The structure and role of the.nuspec files.
  3. CreatThe.nuspec file.
  4. Choose a unique PackageSet the version number and identifier.
  5. Add a readme file and other files.
  6. Include MSBuild targets and props into your project. Package.
  7. Run nuget packTo generate the.nupkg files.
  8. Next steps