How to install
Overview
You can install/uninstall the project template by executing the following command from the command prompt (the execution folder can be anywhere).
install
Run the following command to install the project template. Updating to a newer version can be done with a similar command.
dotnet new --install NextDesign.Extension.ProjectTemplates
Alternatively, if you have NDExt installed, you can also install it by running the following command:
ndext install
After executing the command, execute the following command to check whether the installation has been completed successfully.
dotnet new
If the installation is successfully completed, the following will be displayed.
Templates Short Name Language Tags
---------------------------------------------- ------------- ---------- ----------------------
Console Application console [C#],F#,VB Common/Console
...
Next Design Extension (Extension Points) ndextp [C#] Next Design
Next Design Extension ndext [C#] Next Design
...
After successful installation, you will see the Next Design Extension
template in Visual Studio's New Project dialog.
For this reason, you can also check whether the installation has been completed normally by displaying the new project creation dialog.
- Extensions created this way will use the latest versions of the following packages:
NextDesign.Desktop
NextDesign.Core
NextDesign.Desktop.ExtensionPoints
- The above packages are compatible with the latest version of Next Design, so they may not work with versions that are not the latest.
- If you want to create an extension for a specific version of Next Design, please explicitly specify the corresponding package version.
- Please refer to version correspondence table for corresponding package versions.
Uninstall
Execute the following command to uninstall the project template.
dotnet new --uninstall NextDesign.Extension.ProjectTemplates