BitHelp.Core.Extend
0.7.0
dotnet add package BitHelp.Core.Extend --version 0.7.0
NuGet\Install-Package BitHelp.Core.Extend -Version 0.7.0
<PackageReference Include="BitHelp.Core.Extend" Version="0.7.0" />
paket add BitHelp.Core.Extend --version 0.7.0
#r "nuget: BitHelp.Core.Extend, 0.7.0"
// Install BitHelp.Core.Extend as a Cake Addin #addin nuget:?package=BitHelp.Core.Extend&version=0.7.0 // Install BitHelp.Core.Extend as a Cake Tool #tool nuget:?package=BitHelp.Core.Extend&version=0.7.0
BitHelp.Core.Extend
This project is a collection of extensions that I use constantly, so put them all in this package.
Getting Started
Installation process
This package is available through Nuget Packages: https://www.nuget.org/packages/BitHelp.Core.Extend
Nuget
Install-Package BitHelp.Core.Extend
.NET CLI
dotnet add package BitHelp.Core.Extend
Latest releases
Release 0.7.0
feature: Adding Struct extend to get Display and Description
To read about others releases access RELEASES.md
Build and Test
Using Visual Studio Code, you can build and test the project from the terminal.
Build and restore the project
dotnet restore
dotnet build --no-restore
Tests
dotnet test --no-build --verbosity normal
Report Generator
Coverlet is used as a package in the test project, to generate the test coverage file. But to generate a report, the Report Generator must be installed on the computer, in this case in global scope. In this project I am using version 4.8.6.
dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.8.6
Coverage
To generate the test report, run the command below:
rm -rf ./coverage ./test/bin ./src/bin ./TestResults
dotnet restore
dotnet build --no-restore
dotnet test --no-build --verbosity=normal --collect:"XPlat Code Coverage" --results-directory ./coverage
reportgenerator "-reports:coverage/**/coverage.cobertura.xml" "-targetdir:coverage/report" -reporttypes:Html
Upon execution, the command will generate a test report in the ./coverage/report.
so I don't have to run each command for each test that wants to generate the report, I created a ./buildReport.sh to make it easier, so just run the shell script below:
./buildReport.sh
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.ComponentModel.Annotations (>= 4.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BitHelp.Core.Extend:
Package | Downloads |
---|---|
BitHelp.Core.Validation
Project for data validation. |
GitHub repositories
This package is not used by any popular GitHub repositories.