Skip to main content
LightInject package icon

LightInject

An ultra lightweight Inversion of Control container for the .Net framework. See LightInject.Source for the source distribution.

Total Downloads
15.1M
15,120,234
Published
May 21, 2026
Latest stable version

Install

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

Frameworks

.NETFramework4.6.2 net8.0 .NETStandard2.0

Dependencies

System.ValueTuple
.NETFramework4.6.2
[4.5.0, )

Adoption guide

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

Compatibility metadata lists 3 target frameworks; 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.