Anarchy.Toolkit.Build.Fallout
1.0.1
See the version list below for details.
dotnet add package Anarchy.Toolkit.Build.Fallout --version 1.0.1
NuGet\Install-Package Anarchy.Toolkit.Build.Fallout -Version 1.0.1
<PackageReference Include="Anarchy.Toolkit.Build.Fallout" Version="1.0.1" />
<PackageVersion Include="Anarchy.Toolkit.Build.Fallout" Version="1.0.1" />
<PackageReference Include="Anarchy.Toolkit.Build.Fallout" />
paket add Anarchy.Toolkit.Build.Fallout --version 1.0.1
#r "nuget: Anarchy.Toolkit.Build.Fallout, 1.0.1"
#:package Anarchy.Toolkit.Build.Fallout@1.0.1
#addin nuget:?package=Anarchy.Toolkit.Build.Fallout&version=1.0.1
#tool nuget:?package=Anarchy.Toolkit.Build.Fallout&version=1.0.1
Anarchy.Toolkit.Build.Fallout
Reusable Fallout build components for .NET repositories.
dotnet add build/_build.csproj package Anarchy.Toolkit.Build.Fallout
Implement the components appropriate to your repository on a FalloutBuild class. For example, a package-only build can implement INuGetBuild, ILayeringBuild, IDependencyMapBuild, IDependencyUpgradeBuild and IGitHooksBuild, with an empty Artifacts collection. Use IBoilerplateBuild for scaffolding, or add the AWS, container, CodeDeploy and Slack components as needed. External deployment and publication targets require their respective tools and credentials.
using Anarchy.Toolkit.Build.Fallout.Component;
using Anarchy.Toolkit.Build.Fallout.Core.Entity.Build;
using Anarchy.Toolkit.Build.Fallout.Infrastructure.Extension;
using Fallout.Common;
class Build : FalloutBuild, INuGetBuild, ILayeringBuild, IDependencyMapBuild,
IDependencyUpgradeBuild, IGitHooksBuild
{
public IReadOnlyCollection<Artifact> Artifacts => [];
public static int Main() => Execute<Build>(x => x.As<IDefaultBuild>().Clean);
}
Create .fallout/parameters.json with the solution path, then run dotnet run --project build/_build.csproj -- --help to see targets and parameters. The included scaffolding target writes its solution setting to .fallout/parameters.json; it will not overwrite existing files.
See the Fallout builds guide for component details and package publishing.
Starting from an empty folder
With the .NET 10 SDK, Bash and Make installed, create a build host first:
mkdir -p build .fallout
dotnet new console --framework net10.0 --name _build --output build
dotnet add build/_build.csproj package Anarchy.Toolkit.Build.Fallout
printf '{}\n' > .fallout/parameters.json
Use the example above in build/Program.cs, adding IBoilerplateBuild to the class. Then generate a starter solution and try the build:
dotnet run --project build/_build.csproj -- SetupBoilerplate --boilerplate-solution-name MyApp
make compile FALLOUT_RELOAD_ENV=false
make check_layering FALLOUT_RELOAD_ENV=false
By default, scaffolding creates a solution containing the build and a starter src/Core project, along with tests/, samples/, docs/, Makefile, scripts and configuration files. Review the supplied .NET SDK and test-runner settings and enable or adapt the optional Make targets for your build components and tools.
Choosing what to install
Use --boilerplate-items for a comma-separated allowlist and --boilerplate-exclude to remove items. Names are case-insensitive; omit the allowlist to select everything.
| Item | Effect |
|---|---|
solution |
Create the named .sln, add the existing build and selected Core project, and set Solution in .fallout/parameters.json. Requires --boilerplate-solution-name. |
core |
Create src/Core/Core.csproj. Add it to a solution yourself if solution is excluded. |
tests, samples, docs |
Create the directory and its .gitkeep. |
Makefile, .gitignore, .editorconfig, global.json, nuget.config |
Install the corresponding packaged file. |
Directory.Build.props |
Create the SQL resource embedding rule if the file is absent. |
scripts |
Install all scripts; individual paths such as scripts/build.fallout.sh or scripts/bootstrap can also be selected or excluded. |
all selects every item and none selects nothing. Unknown names fail before any files are written. When selecting individual scripts, include their helpers: the launcher needs scripts/shared/colors.env, scripts/console/subtitle.sh and, unless environment reloading is disabled, scripts/bootstrap/shell-profile-path.sh.
Existing .gitignore and .editorconfig files are untouched unless --append-existing (or --apend-existing) is supplied; packaged content is then appended at most once. Review the result because later rules can change earlier ones. Existing global.json, nuget.config and Directory.Build.props are always preserved. The target refuses to overwrite a solution, selected script, Makefile, starter project, .gitkeep or existing Solution parameter. If an operation fails partway through, inspect the output before retrying.
Releases
1.0.1
- build(fallout): migrate automation from NUKE to Fallout
| 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. |
-
net10.0
- AWSSDK.Core (>= 4.0.103)
- AWSSDK.Extensions.NETCore.Setup (>= 4.0.102.11)
- AWSSDK.KeyManagementService (>= 4.0.101.5)
- Fallout.Common (>= 11.0.18)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Identity.Client (>= 4.92.0)
- Newtonsoft.Json (>= 13.0.4)
- NuGet.Packaging (>= 8.0.0)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
- System.Security.Cryptography.Pkcs (>= 11.0.0)
- System.Security.Cryptography.Xml (>= 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.9.0 | 45 | 11/18/2026 | |
| 3.8.0 | 45 | 11/18/2026 | |
| 3.7.0 | 73 | 11/17/2026 | |
| 3.6.1 | 74 | 11/17/2026 | |
| 3.6.0 | 72 | 11/17/2026 | |
| 3.5.0 | 82 | 11/17/2026 | |
| 3.4.0 | 82 | 11/17/2026 | |
| 3.3.1 | 85 | 11/16/2026 | |
| 3.3.0 | 83 | 11/16/2026 | |
| 3.2.0 | 95 | 11/15/2026 | |
| 3.1.0 | 98 | 11/15/2026 | |
| 3.0.0 | 89 | 11/14/2026 | |
| 2.0.0 | 92 | 11/13/2026 | |
| 1.0.1 | 92 | 11/11/2026 |
Initial release.