ConfigContraband.Tool
0.9.2
dotnet tool install --global ConfigContraband.Tool --version 0.9.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ConfigContraband.Tool --version 0.9.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ConfigContraband.Tool&version=0.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ConfigContraband.Tool --version 0.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<p align="center"> <img src="https://raw.githubusercontent.com/georgepwall1991/ConfigContraband/main/assets/configcontraband-icon.png" width="96" height="96" alt="ConfigContraband icon — appsettings JSON Schema generator"> </p>
ConfigContraband.Tool
Generate appsettings.schema.json from your .NET Options model for editor IntelliSense, type checking, and required-key hints that match ValidateDataAnnotations and BindConfiguration.
Requires a .NET 10 SDK. Pair with the ConfigContraband analyzer for compile-time Options validation.
Install
dotnet tool install --global ConfigContraband.Tool
Generate a schema
configcontraband schema --project src/MyApp/MyApp.csproj
Point your settings file at the schema:
{
"$schema": "appsettings.schema.json",
"Stripe": {
"ApiKey": "sk_live_..."
}
}
Dual loop
Use the analyzer for build/IDE diagnostics and this tool for live appsettings completion:
Docs
- Analyzer package: ConfigContraband
- Full docs and samples: GitHub repository
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 |
|---|---|---|
| 0.9.2 | 5 | 8/25/2026 |
| 0.9.1 | 30 | 8/25/2026 |
| 0.9.0 | 198 | 8/12/2026 |
| 0.8.0 | 92 | 8/12/2026 |
| 0.7.29 | 93 | 8/12/2026 |
| 0.7.28 | 87 | 8/12/2026 |
| 0.7.27 | 89 | 8/12/2026 |
| 0.7.26 | 110 | 7/26/2026 |
| 0.7.25 | 107 | 7/26/2026 |
| 0.7.24 | 108 | 7/25/2026 |
| 0.7.23 | 115 | 7/25/2026 |
| 0.7.22 | 113 | 7/21/2026 |
| 0.7.21 | 113 | 7/21/2026 |
| 0.7.20 | 106 | 7/16/2026 |
| 0.7.19 | 106 | 7/16/2026 |
| 0.7.18 | 118 | 7/16/2026 |
| 0.7.17 | 115 | 7/16/2026 |
| 0.7.16 | 104 | 7/16/2026 |
| 0.7.15 | 106 | 7/16/2026 |
| 0.7.14 | 110 | 7/16/2026 |
Loading failed
Ship alongside ConfigContraband 0.9.2.