Mangh.Metrology.CSUnits 2.0.0

dotnet new install Mangh.Metrology.CSUnits::2.0.0
This package contains a .NET Template Package you can call from the shell/command line.

C# Unit of Measurement Library Project Template


  • The package provides a project template for the C# units of measurement class library (DLL).
  • When installed, the template can be referenced from the command line using the short name csunits.


  • Use the following command line to install the template:

    dotnet new install Mangh.Metrology.CSUnits


  • Create a project <PROJECT_NAME> in <PROJECT_FOLDER> for units of measurement in namespace <PROJECT_NAMESPACE>:

    dotnet new csunits -n <PROJECT_NAME> -o <PROJECT_FOLDER> -ns <PROJECT_NAMESPACE>
  • To continue under Visual Studio IDE, attach the project to a Visual Studio solution:

    • open Visual Studio IDE,
    • create a new or select an existing solution,
    • right click the solution root folder (or a solution subfolder),
    • perform AddExisting Project...,
    • select the project created above.


  • .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
2.0.0 158 6/21/2023

Version 2.x
     * supporting packages restructured,
     * packages renamed.
     Version 1.x (named: Mangh.Metrology.UnitsOfMeasurement)
     * deprecated.