IoCTools.Tools.Cli 1.7.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global IoCTools.Tools.Cli --version 1.7.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local IoCTools.Tools.Cli --version 1.7.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=IoCTools.Tools.Cli&version=1.7.2
                    
nuke :add-package IoCTools.Tools.Cli --version 1.7.2
                    

IoCTools.Tools.Cli

IoCTools.Tools.Cli is the developer-facing inspection tool for IoCTools. Install it as a dotnet tool and point it at a real project to inspect generated constructors, registrations, diagnostics, configuration bindings, validators, and migration posture.

Install

dotnet tool install --global IoCTools.Tools.Cli

To install from a local build:

dotnet pack IoCTools.Tools.Cli/IoCTools.Tools.Cli.csproj -c Release -o ./artifacts
dotnet tool install --global --add-source ./artifacts IoCTools.Tools.Cli

Key Commands

ioc-tools evidence --project MyProject.csproj --json
ioc-tools suppress --project MyProject.csproj --codes IOC035,IOC092 --json
ioc-tools validator-graph --project MyProject.csproj --why MyValidator --json
  • evidence emits one correlated bundle across registrations, diagnostics, configuration, validators, migration hints, and generated artifacts.
  • evidence --baseline <dir> --output <dir> --json adds stable artifact fingerprints and structured compare deltas with added, removed, changed, and unchanged status.
  • suppress --json emits structured suppression metadata alongside the .editorconfig recipe.
  • validator-graph --json and validator-graph --why --json emit structured contracts for validator topology and lifetime reasoning.

Authoring Guidance

  • Never use [Inject] in new code.
  • Never use InjectConfiguration in new code.
  • Prefer [DependsOn<T>] for service dependencies.
  • Prefer [DependsOnConfiguration<T>] or [DependsOnOptions<T>] for configuration dependencies.

See the repo docs for the full reference:

  • docs/cli-reference.md
  • docs/diagnostics.md
  • docs/attributes.md
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 is compatible.  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.

This package has no dependencies.

Version Downloads Last Updated
1.9.1 93 5/23/2026
1.8.0 100 5/12/2026
1.7.3 95 5/6/2026
1.7.2 91 5/6/2026
1.7.1 87 5/6/2026
1.6.1 118 4/29/2026
1.6.0 98 4/29/2026
1.5.1 118 4/12/2026

v1.7.2: consumer regression fixes — restore [Cover<T>] source-compat via global using injection, fix IOC997 scalar TypedConstant params parsing, downgrade TDIAG08 to Info. See CHANGELOG.md for full notes.