Skip to content
Cake Addin for BitDiffer command line
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
tests/Cake.BitDiffer.Tests
tools
.appveyor.yml
.gitattributes
.gitignore
CHANGELOG
Cake.Bitdiffer.Sonar.sln
Cake.Bitdiffer.sln
GitVersion.yml
LICENSE.md
README.md
build.cake
build.ps1
build.sh
cake.config

README.md

Cake.BitDiffer

This Cake Addin allows to use BitDiffer command line in your Cake build scripts.

To use the addin, add the following lines in your build script:

#tool "nuget:?package=BitDiffer"

#addin "nuget:?package=Cake.BitDiffer"

States

Service Last Develop Master
AppVeyor last Build status last Build status develop Build status master
SonarCube coverage SonarQube Coverage SonarQube Coverage
SonarCube technical debt SonarQube Technical Debt SonarQube Technical Debt
SonarCube Quality Gate SonarQube Quality Gate SonarQube Quality Gate
Nuget NuGet NuGet Pre Release NuGet

Usage

var settings = new BitDifferSettings {
    PreviousAssemblyFile = "./Version1/MyAsembly.dll",
    CurrentAssemblyFile = "./Version2/MyAssembly.dll",
    ReportOnlyChanged = true,
    CompareOnlyPublic = true,
    CompareImplementation = false,
    CompareAssemblyAttributeChanges = true,
    ResultOutputFile = "./CompareResults.xml", // Or HTML
    IsolationLevel = IsolationLevel.High,
    PreferGacVersion = true,
    ReflectionOnlyLoading = false
};
var compareResult = BitDiffer(settings);
Information(compareResult.HasChanges());
Information(compareResult.GetChangeMessage()); // Short message of detected change or error
Information(compareResult.RawResult); // Full analysis result

// Or with inline configuration
var result = BitDiffer(options => {
    options.PreviousAssemblyFile = "./Version1/MyAsembly.dll";
    options.CurrentAssemblyFile = "./Version2/MyAssembly.dll"
});
You can’t perform that action at this time.