Official Units.Net extended with additional Oasys units.
Latest | CI Pipeline | Dependencies |
---|---|---|
|
|
- Check out the master branch from https://github.com/angularsen/UnitsNet/
- Batch replace all occurences of
UnitsNet
withOasysUnits
- Batch replace all occurences of
angularsen/OasysUnits
withangularsen/UnitsNet
- Rename all folders (in root folder) beginning with
UnitsNet.something
toOasysUnits.something
- Rename all .sln and .csproj files beginning with
UnitsNet.something
toOasysUnits.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
andPackageReleaseNotes
- In a terminal change directory to
.\CodeGen\
and rundotnet 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
- Follow the steps described in the official Units.Net wiki
- Copy all newly created custom files into
.\CustomOasys\
We would like to thank Andreas Gullberg Larsen and others for the great work of UnitsNet.