Prowl.Echo is distributed as a single NuGet package that includes both the runtime library and the bundled source generator. There is no separate analyzer package to install — everything you need for zero-reflection, compile-time serialization ships in one reference.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ProwlEngine/Prowl.Echo/llms.txt
Use this file to discover all available pages before exploring further.
Supported Frameworks
The
Prowl.Echo package targets multiple frameworks and the NuGet toolchain automatically selects the correct build for your project. No manual framework selection is required.| Framework | Supported |
|---|---|
| .NET 6.0 | ✅ |
| .NET 7.0 | ✅ |
| .NET 8.0 | ✅ |
| .NET 9.0 | ✅ |
Installing via the .NET CLI
Run the following command in the directory containing your.csproj file:
Installing via PackageReference
Add the following entry to the<ItemGroup> in your .csproj file to pin to the current stable release:
dotnet restore (or let your IDE restore automatically) to download the package.
The Bundled Source Generator
TheProwl.Echo NuGet package ships the Echo.SourceGenerator Roslyn analyzer inside the analyzers/dotnet/cs package path. When you reference Prowl.Echo, the source generator is registered automatically — no additional <PackageReference> entry, no IsPackable flag, and no manual analyzer registration is needed.
To activate source generation for a type, annotate it with [GenerateSerializer] and declare the type as partial:
[GenerateSerializer] with [FixedEchoStructure] to enable compact positional serialization that omits field names entirely:
Verifying the Installation
After installing, add the following snippet to confirm that both the runtime and source generator are working correctly:hello, Prowl.Echo is installed and the source generator is active.