appcompare 2.1.0
See the version list below for details.
dotnet tool install --global appcompare --version 2.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local appcompare --version 2.1.0
#tool dotnet:?package=appcompare&version=2.1.0
nuke :add-package appcompare --version 2.1.0
Compare two application bundles.
In it's most basic form, the tool will compare the contents of two directories (it does not have to be application bundles). This is similar to my original app-compare tool.
The goal of this complete rewrite is to build/integrate more tools that will help you to understand the differences between the two bundles. E.g. why has my app grown so much ?
How to install
Release packages are available from nuget. They can be installed from the command-line.
$ dotnet tool install --global appcompare
To update or to re-install the latest version execute:
$ dotnet tool update --global appcompare
How to use
You can use the tool from the command line and use it to automate (CI/CD) the process of comparing your current application bundle with the previous (e.g. release) one.
A text-user interface is also available to allow you to dig further into the differences between the two bundles.
With the Command Line
$ appcompare path/to/bundle/1 path/to/bundle/2 -output-markdown report.md
You can also use the --gist
option to generate a gist
from the output. The url of the gist will be printed to stdout.
$ appcompare path/to/bundle/1 path/to/bundle/2 --gist
With the Text User Interface
Start the tool from the command line
$ appcompare
- Press
F1
to select the first application bundle. - Press
F2
to select the second application bundle. - Press
CTRL+G
to create a gist of the comparison.
Voila! Now you can play around to find out what's different between the two bundles.
Advanced Usage
The wiki covers ways to use the tool beyond the basic size comparison of markdown reports.
When to use
Ideally you keep copies of every released version of your application. Every time you release a new version, you should compare the previous version with the new one. This way you can see what and where are the changes inside your application and how this affected the build size.
Dependencies
Built on top of
Released with
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 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. |
This package has no dependencies.