Templates for MSBuild projects and other files.
Short Name: dbprops
None
Short Name: dbtargets
None
Short Name: proj
--sdk <sdk>
(Optional): Specifies the SDK to put in<Project Sdk="...">
.
None
- Install .NET 6 SDK or above.
- Open a terminal.
- Run
dotnet new install Belp.Templates
.
- Download the
.nupkg
from GitHub Releases. - Open a terminal.
- Locate and navigate to the package.
- Run
dotnet new install Belp.Templates.VERSION.nupkg
.
- Open a terminal.
- Run
dotnet new uninstall Belp.Templates
.
- Open a terminal.
- Navigate to the desired directory.
- Run
dotnet new <Desired Template>
. For example,dotnet new dbprops
to create a new Directory.Build.props file.
Note: only project templates can be used from Visual Studio at the moment.
- Open Visual Studio 2022 or later.
- Click on "Create a new project".
- Find the desired project template.
- Fill out the requested fields.