Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

UnitsNet.Modular getting started

This minimal console app matches the two-file quick start in the main UnitsNet.Modular documentation. It selects Length, Duration, and Speed, then constructs, parses, converts, and combines the generated quantities.

In an ordinary application, install the package and copy ApplicationUnits.cs and Program.cs:

dotnet add package UnitsNet.Modular --prerelease
dotnet run

In this repository the same project supports all three dependency platforms described in the samples overview. Choose PublishedPackages to mirror the ordinary application, LocalPackages to test a package built from this checkout, or ProjectReferences while developing.

Run the repository scenario from its root with:

pwsh UnitsNet.Modular/Samples/GettingStartedSample/run.ps1

The script selects Debug | LocalPackages and uses an isolated package cache.