FolderDiffIL4DotNet.Core 1.0.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package FolderDiffIL4DotNet.Core --version 1.0.0
                    
NuGet\Install-Package FolderDiffIL4DotNet.Core -Version 1.0.0
                    
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="FolderDiffIL4DotNet.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FolderDiffIL4DotNet.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FolderDiffIL4DotNet.Core" />
                    
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 FolderDiffIL4DotNet.Core --version 1.0.0
                    
#r "nuget: FolderDiffIL4DotNet.Core, 1.0.0"
                    
#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 FolderDiffIL4DotNet.Core@1.0.0
                    
#: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=FolderDiffIL4DotNet.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=FolderDiffIL4DotNet.Core&version=1.0.0
                    
Install as a Cake Tool

FolderDiffIL4DotNet.Core

Core utility library extracted from FolderDiffIL4DotNet — a folder-diff tool for .NET release validation.

Features

Namespace Key Types Description
Core.IO FileComparer SHA256 hash comparison and line-by-line text diff
PathValidator Cross-platform path and folder name validation
FileSystemUtility Timestamp, read-only flag, and deletion helpers
NetworkPathDetector UNC/NFS/CIFS/SSHFS network path detection
Core.Text TextDiffer Myers diff algorithm for line-level text comparison
EncodingDetector BOM detection and UTF-8 validation with ANSI fallback
TextSanitizer String sanitization and safe filename conversion
Core.Diagnostics DotNetDetector PE/CLR header parser for .NET executable detection
ProcessHelper Process execution and command tokenization
SystemInfo System information and app metadata retrieval
Core.Console ConsoleSpinner Animated console spinner with dispose support
Core.Common CoreConstants Shared constants

Quick Start

using FolderDiffIL4DotNet.Core.IO;
using FolderDiffIL4DotNet.Core.Text;
using FolderDiffIL4DotNet.Core.Diagnostics;

// Compare two files by SHA256 hash
bool areEqual = FileComparer.CompareByHash("file1.dll", "file2.dll");

// Line-by-line diff using Myers algorithm
var diffs = TextDiffer.ComputeDiff(oldLines, newLines);

// Detect if a file is a .NET assembly
var result = DotNetDetector.Detect("MyApp.dll");
if (result.Status == DotNetExecutableDetectionStatus.DotNetExecutable)
    Console.WriteLine(".NET assembly detected");

// Validate a file path
bool isValid = PathValidator.IsValidPath(@"C:\MyProject\bin\Release");

// Detect file encoding
var encoding = EncodingDetector.Detect("data.csv");

Requirements

  • .NET 8.0 or later

License

MIT

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in 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.14.2 0 4/7/2026
1.13.5 33 4/4/2026
1.13.4 35 4/4/2026
1.13.3 35 4/3/2026
1.12.3 39 3/30/2026