Skip to content

C# library for working with units and quantities

License

Notifications You must be signed in to change notification settings

Yellow-Dog-Man/Elements.Quantity

Repository files navigation

Elements.Quantity

Handful .NET library for working with various physical quantities, including conversions, formatting and parsing.

NuGet

Building

This library should be build-able using a standard Visual Studio setup. As there are no dependencies, it is usually quite fast.

Publishing a New Nuget Version

Version releases are handled automatically by GitHub Actions. You do need to trigger a release though. To do this:

  1. Git Tag a git commit with the new version number. Tags must be in the format: version number without any prefixes or suffixes. E.g.1.0.0
  2. Push that Tag to Github however you'd like e.g. git push --tags
  3. Draft a new GitHub Release using that tag in the "Choose a tag" drop down.
  4. Write suitable release notes, If PRs were used the "Generate release notes" button will automatically populate them.
  5. Publish the release.