Introduction
Installation
Sailfish targets .NET 9 and .NET 10. Older runtimes are not supported.
Packages are available on NuGet:
- Sailfish — the core runner, used when you embed Sailfish in a console app or library.
- Sailfish.TestAdapter — the VSTest adapter; install this in a test project so Visual Studio / Rider Test Explorer discovers
[Sailfish]classes. - Sailfish.Analyzers — Roslyn analyzers (e.g. SF1001/SF1002/SF1003) that catch dead-code-elimination hazards. Pulled in transitively by the core package.
# Class library / programmatic runnerdotnet add package Sailfish
# Test project discovered by VSTestdotnet add package Sailfish.TestAdapter