Skip to main content

How to Use

Overview

Project templates are available for Visual Studio and .NET CLI.

Create a project in Visual Studio

You can create a project using a project template from the new project creation dialog of Visual Studio.

When you create a project, a project containing a manifest file and a sample implementation of extensions will be created as follows.

The following two types of project templates are available.

  • Next Design Extension ... Standard extension template.
  • Next Design Extension (Extension Points) ... An extension template that makes defining extension points very simple.
caution
  • Project templates are compatible with both Visual Studio 2019 and 2022, but if you install both Visual Studio 2019 and 2022 on one machine, only Visual Studio 2022 project templates will be displayed.
  • If the project templates are not displayed in Visual Studio 2019, please check that the version is 16.8 Preview2 or later and that "Show all .NET Core templates in the new project dialog" is checked from the settings below. please.
    See Microsoft's blog for related articles.

Create a project from the command line

You can create a project using a project template by executing the following command from the command line.

dotnet new ndext -n MyExt1

Also, you can create a project using NextDesign.Desktop.ExtensionPoints that enables simpler extension development by executing the following command.

dotnet new ndextp -n MyExt2