How to do it...

  1. Open Visual Studio 2017.
  2. Click File | New | Project and select Windows Classic Desktop in the right-hand pane under Visual C#
  3. Select Windows Forms App (.NET Framework) in the right-hand pane:
  1. Now, in the Name: textbox, type Chapter11.Packaging.WinAppUsage and, under the Location: textbox, select a proper location and leave the other fields as they are:
  1. Click OK.
  2. The Solution Explorer (Ctrl + Alt + L) should look like this:
  1. Now, click on Form1.cs and change the name to MainForm.cs.
  2. Answer Yes to confirm the change to ...

Get .NET Standard 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.