Skip to main content
ZeroAlloc.Inject.Generator package icon

ZeroAlloc.Inject.Generator

A compile-time DI registration library for .NET. Roslyn source generator wires all service registrations at compile time โ€” no reflection, no scanning.

Total Downloads
16.6K
16,575
Published
May 28, 2026
Latest stable version

Install

.NET CLI
dotnet add package ZeroAlloc.Inject.Generator --version 1.7.1
Package Manager Console
Install-Package ZeroAlloc.Inject.Generator -Version 1.7.1
PackageReference
<PackageReference Include="ZeroAlloc.Inject.Generator" Version="1.7.1" />

Frameworks

.NETStandard2.0

Dependencies

No declared dependencies.

Adoption guide

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

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.