Skip to content

Letale-vc/DPB2Plugintemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This document provides instructions on how to use and install the DPB2.Plugin.Template package. The template is designed to help developers streamline the process of creating plugins for their applications.

Installation

To install the template package, run the following command in your terminal:

dotnet new --install .\DPB2.Plugin.Template.x.x.x.nupkg --force

Notes:

  • Ensure that you have the .nupkg file downloaded and located in the specified path (.\).
  • The --force option ensures that any existing installation of the same template is overwritten.
  • Replace .\DPB2.Plugin.Template.x.x.x.nupkg with the full path to the .nupkg file if it is not in the current directory.

Setting the Path (Windows)

To set the path to the DPB2 folder, run the following command in your terminal:

setx DPB2 <path-dpb2-folder>

Parameters:

  • <path-dpb2-folder>: Replace this with the full path to your DPB2 folder.

Example:

setx DPB2 "C:\Users\YourUsername\DreamPoeBot2"

Usage

After successful installation, you can create a new project using this template by executing the following command:

dotnet new <template-name> -n <project-name>

Parameters:

  • <template-name>: Replace this with the name of the template provided by the DPB2.Plugin.Template package.
  • <project-name>: Replace this with the desired name for your new project.

Example:

dotnet new DPB2Project -n MyNewPlugin

This will create a new project named MyNewPlugin using the DPB2.Plugin.Template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages