Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.16 KB

File metadata and controls

25 lines (16 loc) · 1.16 KB

Readme - Code Samples for Chapter 14, Libraries, Assemblies, Packages, and NuGet

Libraries, Assemblies, Packages, and NuGet explains the differences between assemblies and NuGet packages. In this chapter, you learn how to create NuGet packages and are introduced to a new C# feature, module initializers, which allow you to run initial code in a library.

This chapter contains the following code samples:

  • ConsoleApp (Project-file definitions)
  • UsingLibs
    • SampleLib (library to be used with console app)
    • ConsoleApp
  • CreateNuGet
    • SampleLib
    • ConsoleApp

With .NET 6, the CreateNuGet sample has been updated to build a NuGet package for .NET Standard 2.0, .NET 5, and .NET 6.

More Information

For code comments and issues please check Professional C#'s GitHub Repository

Predefined symbols for target frameworks

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!