kwld.CoreUtil 1.3.2-preview1

This is a prerelease version of kwld.CoreUtil.
There is a newer version of this package available.
See the version list below for details.
dotnet add package kwld.CoreUtil --version 1.3.2-preview1                
NuGet\Install-Package kwld.CoreUtil -Version 1.3.2-preview1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="kwld.CoreUtil" Version="1.3.2-preview1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add kwld.CoreUtil --version 1.3.2-preview1                
#r "nuget: kwld.CoreUtil, 1.3.2-preview1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install kwld.CoreUtil as a Cake Addin
#addin nuget:?package=kwld.CoreUtil&version=1.3.2-preview1&prerelease

// Install kwld.CoreUtil as a Cake Tool
#tool nuget:?package=kwld.CoreUtil&version=1.3.2-preview1&prerelease                

Overview

Core library holding various extensions to improve code development and readability.

See Docs for details

For easy use; extensions are included as global usings (.net 6 +) These can be explicitly configured using ImplicitUsings_CorUtil build property.

If ImplicitUsings_CorUtil is not set, then the standard ImplicitUsings property determines if they are used or not.

Framework support

To leverage new language features, this now targets multiple frameworks.

Some features are only available for newer frameworks.

Helpers for file system.

Mapping from static file system methods, such as Path.ChangeExtension() to corresponding FileInfo (and DirectoryInfo) extensions, such as FileInfo.ChangeExtension()

Includes set of extensions for System.IO.Abstractions such as IFileInfo.ChangeExtension()

A number of other file-system goodies like Touch(); EnsureExists()

Stream helpers

Simpler Read/Write lines to text stream.

A stream Tee.

String helpers

String split and join helpers.

Split on whitespace (find words)

Compare case-ignorant, and white-space ignorant (Same).

Collections.

Dictionary extensions to:

  1. Add a range, or merge.
  2. Ensure an item exists (DefaultTo)

A RecordArray for value-equality of a set of records. (with array-like serialization)

Build tooling.

A number of msbuild helpers, including:

Download file as part of the build.


^ source | nuget

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 is compatible.  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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on kwld.CoreUtil:

Package Downloads
kwd.CoreDomain

A library to help creating rich domain entites for .NET Core

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 109 11/1/2024
1.4.0-rc1 70 10/31/2024
1.3.2 311 12/8/2023
1.3.2-preview2 131 11/22/2023
1.3.2-preview1 105 11/20/2023

Add .net8.0 target
Add samples; using approach for local nuget package usage
Add extensions as implicit global usings.
Project moved to new name: kwld.CoreUtil