CoreCompare 1.0.0
See the version list below for details.
dotnet add package CoreCompare --version 1.0.0
NuGet\Install-Package CoreCompare -Version 1.0.0
<PackageReference Include="CoreCompare" Version="1.0.0" />
paket add CoreCompare --version 1.0.0
#r "nuget: CoreCompare, 1.0.0"
// Install CoreCompare as a Cake Addin #addin nuget:?package=CoreCompare&version=1.0.0 // Install CoreCompare as a Cake Tool #tool nuget:?package=CoreCompare&version=1.0.0
filediff
A small library for comparing published .NET Core directories. Uses the Microsoft.Extensions.DependencyModel library to compare .dll files.
filediff does two things. For all non binary files, filediff uses fast-byte comparison to compare every file in a newly published directory with an old version, and returns all the files that are unique or new to the new directory. However, many .dll files contain metadata that changes with every compilation; this means that a byte based comparison will fail on two binary files with the same source code. filediff gets around this issue by parsing the *.deps.json of each published directory. It then loads both json files into a Microsoft.Extensions.DependencyModel contexts, and extracts all new/unique binary paths.
Lastly, filediff copies all of the extracted files to a new directory, optionally creating a ZIP folder.
Usage
//The path of the source directory.
string oldpath = @"D:\Documents\Coding\filediff\publish old";
//The path of the new directory.
string newpath = @"D:\Documents\Coding\filediff\publish";
//The path where you would like the directory of differences to be stored.
string publishpath = @"D:\Documents\Coding\filediff";
var diffclient = new DirectoryComparer(oldpath, newpath, publishpath);
diffclient.CreateZIP = true;
diffclient.IgnoredExtensions.Add(".log");
diffclient.Compare();
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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.DependencyModel (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
V1.0.0 Most of the big bugs have been dealt with.