Cadenza 1.0.15
Requires NuGet 5.0 or higher.
<Sdk Name="Cadenza" Version="1.0.15" />
For projects that support Sdk, copy this XML node into the project file to reference the package.
#:sdk Cadenza@1.0.15
#:sdk directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
Cadenza
Read this in 한국어.
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.0.15
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 / Mcp variants.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.