A utility that creates dot graphs from .NET projects.
> dotnet tool install -g dotnet-autograph
USAGE:
dotnet autograph <PROJECTS> [OPTIONS]
EXAMPLES:
dotnet autograph foo.csproj
dotnet autograph foo.csproj bar.csproj --output graph.dot
ARGUMENTS:
<PROJECTS> The project(s) to build a graph from
OPTIONS:
-h, --help Prints help information
--output <OUTPUT> The filename of the resulting graph
To create a dot graph for project ~/source/foo/foo.csproj
in the current working directory:
> dotnet autograph ~/source/foo/foo.csproj
You can also specify the output path:
> dotnet autograph ~/source/foo/foo.csproj --output ~/foo.dot
This will output something like this:
We're using Cake as a dotnet tool for building. So make sure that you've restored Cake by running the following in the repository root:
> dotnet tool restore
After that, running the build is as easy as writing:
> dotnet cake
Copyright (c) 2020 Patrik Svensson