kwd.CoreUtil 1.3.1

Suggested Alternatives

kwld.CoreUtil 1.3.2

Additional Details

This package has been renamed

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package kwd.CoreUtil --version 1.3.1
NuGet\Install-Package kwd.CoreUtil -Version 1.3.1
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="kwd.CoreUtil" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add kwd.CoreUtil --version 1.3.1
#r "nuget: kwd.CoreUtil, 1.3.1"
#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 kwd.CoreUtil as a Cake Addin
#addin nuget:?package=kwd.CoreUtil&version=1.3.1

// Install kwd.CoreUtil as a Cake Tool
#tool nuget:?package=kwd.CoreUtil&version=1.3.1

Overview

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

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.

See wiki for details


^ 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 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 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 (2)

Showing the top 2 NuGet packages that depend on kwd.CoreUtil:

Package Downloads
kwd.Templates

A set of dotnet new templates to seed files for .NET Core projects

kwd.ConsoleAssist

.NET library to ease development of console applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.2-preview1 187 11/20/2023
1.3.1 265 11/6/2023
1.3.1-preview2 90 10/4/2023
1.3.1-preview1 95 8/21/2023
1.3.0 459 6/12/2023
1.2.4 207 5/24/2023
1.2.3 324 1/11/2023
1.2.3-beta 131 12/5/2022
1.2.2-beta 140 11/11/2022
1.2.1-beta 147 8/11/2022
1.1.0 809 10/26/2020
1.0.0 488 2/10/2020
1.0.0-alpha-1 369 11/4/2019

Refresh with .net6 and .net7 additions
       - File.OpenHandle as extension.
       - Directory.CreateTempSubdirectory
 - File.ReadLinesAsync
     Added a Disposable set current directory (pushd)
     Added a Disposable temp file / folder
Override extensions now called Overload extensions.