Peeveen.Templates.DotNet.ClassLibrarySolution 1.0.3

dotnet new install Peeveen.Templates.DotNet.ClassLibrarySolution::1.0.3
                    
This package contains a .NET Template Package you can call from the shell/command line.

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 latest analysis level
      • Treats warnings as errors to prevent them piling up over time
  • A solution file that references all projects.
  • Basic .gitignore and README.md files.

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, framework will be net10.0, and name will be the name of the folder you are in.

Your project folders, csproj files, and code namespaces will be name and name.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.

Version Downloads Last Updated
1.0.3 186 12/23/2025
1.0.2 175 12/23/2025
1.0.1 173 12/23/2025
1.0.0 179 12/23/2025