Skip to main content
DependencyModules.SourceGenerator package icon

DependencyModules.SourceGenerator

Roslyn source generator for DependencyModules. Turns [DependencyModule], [SingletonService], [ScopedService], [TransientService], and [CrossWireService] attributes into IServiceCollection registration code at compile time — no reflection or assembly scanning at run time. Pair with the DependencyModules.Runtime package.

Total Downloads
20.6K
20,603
Published
Sep 1, 2026
Latest stable version

Install

.NET CLI
dotnet add package DependencyModules.SourceGenerator --version 1.3.0
Package Manager Console
Install-Package DependencyModules.SourceGenerator -Version 1.3.0
PackageReference
<PackageReference Include="DependencyModules.SourceGenerator" Version="1.3.0" />

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.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

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.