Thursday, January 17, 2019

Working with NuGet packages

This article presents NuGet packages, discusses what they are, what features they have, and how they can be used.

In general, a NuGet package (or bundle) is a file which contains code that can be re-used in various projects. If you have a project that you want to use many times, it may be good to create a NuGet package, especially if you plan to give the project to a third party.

[...] a NuGet package is a single ZIP file with the .nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package's version number [Microsoft Docs].

NuGet packages are created and used in Visual Studio.

A .nupkg file is a NuGet package.

A .nupkg file is a .zip file. If you change the extension of a .nupkg file to .zip, you will be able to view the dll assemblies view inside of the package.

.nupkg files are built from .nuspec files, and the latter are built from .dll files.

No comments:

Post a Comment