Mangh.Metrology.CSUnits
2.0.2
dotnet new install Mangh.Metrology.CSUnits::2.0.2
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
Add
→Existing Project...
, - select the project created above.
Replaces
- The package replaces the Mangh.Metrology.UnitsOfMeasurement package version 1.x.
-
.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 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.