Peeveen.Templates.DotNet.ClassLibrarySolution
1.0.3
dotnet new install Peeveen.Templates.DotNet.ClassLibrarySolution::1.0.3
Class Library solution template
This is a template for dotnet new, facilitating the easy creation of:
- A class library project for .NET Core or Standard
- An xUnit test project for the class library
- A BenchmarkDotNet project for performing benchmarking.
- Project files initialized with:
- NuGet metadata (description, copyright, icon, etc)
- Code Analysis settings
- SonarAnalyzer pre-installed
- Uses
latestanalysis level - Treats warnings as errors to prevent them piling up over time
- A solution file that references all projects.
- Basic
.gitignoreandREADME.mdfiles.
Installation
dotnet new install Peeveen.Templates.DotNet.ClassLibrarySolution
If already installed, it will be upgraded to the latest available version.
Usage
Create a folder for your solution, cd into it, and:
dotnet new peeeveenclasslibsln --name What.Ever.Name.You.Want --framework netstandard2.0
If not specified,
frameworkwill benet10.0, andnamewill be the name of the folder you are in.
Your project folders,
csprojfiles, and code namespaces will benameandname.Test
Standard project setup
If/when you push your created solution to a GitLab project, be sure to follow the standard project setup guidelines.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.