Mangh.Metrology.CSUnits 2.0.2

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

C# Unit of Measurement Library Project Template

Description

  • 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.

Installation

  • Use the following command line to install the template:

    dotnet new install Mangh.Metrology.CSUnits
    

Usage

  • 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.

Replaces

  • .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.2 629 5/6/2024
2.0.1 178 4/3/2024
2.0.0 195 6/21/2023

Version 2.0.2
       * moving to Definitions 2.0.2 (which fixed the "(expr)" encoding bug relevant only to C++ units) - C# units were free of this bug.
       Version 2.0.1
       * no functional changes, but all projects target .NET 8 (to improve performance).
       Version 2.x
       * supporting packages restructured,
       * packages renamed.
       Version 1.x (named: Mangh.Metrology.UnitsOfMeasurement)
       * deprecated.