Skip to content

arup-group/OasysUnits

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OasysUnits

Downloads

Official Units.Net extended with additional Oasys units.

Latest CI Pipeline Dependencies
GitHub release (latest by date including pre-releases)
Nuget
Azure DevOps builds Libraries.io dependency status for GitHub repo
Dependents (via libraries.io)

How to get up to date with the main repository

  • Check out the master branch from https://github.com/angularsen/UnitsNet/
  • Batch replace all occurences of UnitsNet with OasysUnits
  • Batch replace all occurences of angularsen/OasysUnits with angularsen/UnitsNet
  • Rename all folders (in root folder) beginning with UnitsNet.something to OasysUnits.something
  • Rename all .sln and .csproj files beginning with UnitsNet.something to OasysUnits.something
  • Copy all files from .\CustomOasys\ into the root folder
  • Check differences in .csproj files and only commit the lines regarding PackageId, Version, Authors, Title, Description, Copyright, RepositoryUrl, PackageIcon, PackageProjectUrl, PackageTags and PackageReleaseNotes
  • In a terminal change directory to .\CodeGen\ and run dotnet run -- --skip-nano-framework true to regenerate the source code (running .\generate-code.bat could throw an error, but is actually generating all required files)
  • Update assembly versions and package release notes in .csproj files

How to add additional or modify units, tests, etc.

  • Follow the steps described in the official Units.Net wiki
  • Copy all newly created custom files into .\CustomOasys\

License

License: MIT

Acknowledgement

We would like to thank Andreas Gullberg Larsen and others for the great work of UnitsNet.