ShadowKit 1.0.5

dotnet add package ShadowKit --version 1.0.5
                    
NuGet\Install-Package ShadowKit -Version 1.0.5
                    
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="ShadowKit" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShadowKit" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="ShadowKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ShadowKit --version 1.0.5
                    
#r "nuget: ShadowKit, 1.0.5"
                    
#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.
#:package ShadowKit@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ShadowKit&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=ShadowKit&version=1.0.5
                    
Install as a Cake Tool

ShadowKit

ShadowKit is a NuGet meta package that bundles a set of tools designed to support different development scenarios, especially in testing and utility contexts. It consists of several specialized sub-packages, each focusing on a specific area of functionality.

Packages

ShadowKit.IO

This package provides tools for working with the file system. It is particularly useful in test scenarios that require temporary file or directory structures.

Included tools:

  • TransientFileManager
    A utility for creating temporary files with predefined content. The files are automatically cleaned up after use.

  • TransientDirectoryManager
    A utility for managing temporary directories, useful for scenarios that require short-lived folder structures.

These tools are especially helpful in unit tests where temporary and isolated file system resources are needed.

ShadowKit.Text

This package provides tools for working with text.

Included tools:

  • DetectLineEnding
    Detects the type of line endings used in a given text (e.g., \n, \r\n, \r).

  • StringComparerBuilder
    Builds EqualityComparer<string> instances with extended comparison capabilities, especially useful for comparing multi-line strings. Features include:

    • Ignoring differences in line endings
    • Comparing multi-line text line by line using trimmed lines

These tools are particularly helpful in test scenarios where flexible and robust string comparison is required.

ShadowKit.Threading

This package provides tools for simulating a SynchronizationContext, which can be useful in unit tests that need to test asynchronous code in a controlled threading environment.


Getting Started

To install the full ShadowKit meta package:

dotnet add package ShadowKit

Or install individual packages as needed:

dotnet add package ShadowKit.IO
dotnet add package ShadowKit.Text
dotnet add package ShadowKit.Threading

License

ShadowKit is released under the MIT License.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 306 7/25/2025
1.0.4 166 6/16/2025
1.0.3 132 6/16/2025
1.0.2 150 6/16/2025
1.0.1 155 6/15/2025
1.0.0 141 6/15/2025
0.9.11-beta 132 6/15/2025
0.9.10-beta 137 6/15/2025
0.9.8-beta 134 6/15/2025
0.9.7-beta 133 6/15/2025
0.9.6-beta 130 6/15/2025
0.9.5-beta 133 6/15/2025
0.9.4-beta 134 6/15/2025
0.9.3-beta 132 6/15/2025
0.9.2-beta 134 6/15/2025
0.9.1-beta 104 6/15/2025
0.9.0-beta 106 6/15/2025
0.0.2-alpha 112 6/15/2025
0.0.1-alpha 112 6/15/2025