How to do it...

  1. Let's open Visual Studio 2015 and create a class library:
  1. We will now create a class in this library:
  1. Right-click on the project name and then click on Properties.
  2. We will set the project build option to Release Mode.
  3. We will then check the Generate XML documentation.
  1. To create a package, we will need the DLL and the associated XML documentation, which are the .xml comments in the code:
  1. Let's build the library. We can ...

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.