Skip to main content
Any Framework

MSBuild SDK for .NET 10 file-based console scripts.

Published
May 25, 2026
4mo ago
Total Downloads
3.5K
3,492

Install

dotnet add package Cadenza --version 1.0.1

No framework information available.

README

Cadenza

Cadenza is the console variant of the Cadenza SDK family — a single-file scripting MSBuild SDK for .NET 10+ file-based apps.

Quick start

Create a hello.cs file:

#!/usr/bin/env dotnet run
#:sdk Cadenza@1.*

foreach (var file in Glob("**/*.md"))
{
    var content = ReadText(file);
    WriteLine($"{file}: {content.Length:N0} bytes");
}

Run iteratively:

dotnet run hello.cs

Publish as a self-contained single binary:

dotnet publish hello.cs -r linux-x64 -c Release

See the project repository for the full specification and the Worker / Web variants.

Changes from Previous Version

No structural changes between v1.0.0 and v1.0.1.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.