How to do it...

  1. Have a look at the PurchaseOrderAnalyzer project we created. You will see that there is a tools folder containing two PowerShell scripts called install.ps1 and uninstall.ps1. It is here that you can specify any installation-specific resources or actions to take when uninstalling the package.
  1. Opening the Diagnostic.nuspec file, you will note that this contains information regarding the NuGet package you are about to deploy. Make a point of modifying this file accordingly as it contains information important to developers consuming your NuGet package.
        <?xml version="1.0"?> <package xmlns="http://schemas.microsoft.com/packaging/ ...

Get C# 7 and .NET Core 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.