LightInject 6.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package LightInject --version 6.5.1
NuGet\Install-Package LightInject -Version 6.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LightInject" Version="6.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightInject --version 6.5.1
#r "nuget: LightInject, 6.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LightInject as a Cake Addin
#addin nuget:?package=LightInject&version=6.5.1

// Install LightInject as a Cake Tool
#tool nuget:?package=LightInject&version=6.5.1

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (186)

Showing the top 5 NuGet packages that depend on LightInject:

Package Downloads
UmbracoCms.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the core assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.

LightInject.WebApi

An extension to the LightInject service container that enables dependency injection for Web API applications. See LightInject.WebApi.Source for the source distribution.

LightInject.Web

Enables the LightInject service container to be used in a web application by providing per web request scoped services.

LightInject.Mvc

An extension to the LightInject service container that enables dependency injection for ASP.NET MVC applications. See LightInject.Mvc.Source for the source distribution.

LightInject.Annotation

An extension to the LightInject service container that allows properties and constructor parameters to be annotated with the InjectAttribute class.

GitHub repositories (22)

Showing the top 5 popular GitHub repositories that depend on LightInject:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
EasyNetQ/EasyNetQ
An easy to use .NET API for RabbitMQ
dotnetcore/AspectCore-Framework
AspectCore is an AOP-based cross platform framework for .NET Standard.
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Download from certifytheweb.com
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
Version Downloads Last updated
6.6.4 195,763 5/8/2023
6.6.3 146,024 12/31/2022
6.6.2 1,658 12/30/2022
6.6.1 218,945 9/19/2022
6.6.0 16,073 9/19/2022
6.5.2 36,423 9/9/2022
6.5.1 14,615 8/24/2022
6.5.0 4,714 8/16/2022
6.4.1 244,702 2/8/2022
6.4.0 697,346 10/19/2020
6.3.6 2,399 10/16/2020
6.3.5 404,445 9/23/2020
6.3.4 115,423 6/18/2020
6.3.3 116,143 5/12/2020
6.3.2 276,378 3/9/2020
6.3.1 7,165 3/2/2020
6.3.0 11,405 2/26/2020
6.2.1 34,728 2/11/2020
6.2.0 398,668 10/18/2019
6.1.0 122,022 9/12/2019
6.0.0 31,403 8/28/2019
5.5.0 680,526 5/16/2019
5.4.0 2,340,816 1/25/2019
5.3.0 189,101 12/10/2018
5.2.1 71,704 11/10/2018
5.2.0 110,792 9/28/2018
5.1.10 14,772 9/10/2018
5.1.8 21,622 8/23/2018
5.1.7 4,487 8/21/2018
5.1.6 10,828 8/7/2018
5.1.5 26,995 7/5/2018
5.1.4 20,902 6/24/2018
5.1.3 247,809 5/8/2018
5.1.2 138,726 1/13/2018
5.1.1 106,063 10/27/2017
5.1.0 80,264 8/23/2017
5.0.3 254,185 4/27/2017
5.0.2 39,493 3/7/2017
5.0.1 23,864 2/7/2017
5.0.0 469,552 1/3/2017
5.0.0-RC1 2,240 10/5/2016
4.1.5 68,746 11/28/2016
4.1.4 25,405 11/7/2016
4.1.3 7,561 11/2/2016
4.1.2 16,368 9/30/2016
4.1.1 24,221 9/6/2016
4.1.0 133,862 8/25/2016
4.0.11 156,159 7/4/2016
4.0.10 5,272 6/28/2016
4.0.10-rc2-2 3,783 5/25/2016
4.0.10-rc2 3,463 5/24/2016
4.0.9 50,165 4/5/2016
4.0.8 44,907 2/9/2016
4.0.7 30,803 2/7/2016
4.0.6 5,745 1/28/2016
4.0.5 3,791 1/28/2016
4.0.4 8,162 1/5/2016
4.0.3 9,944 12/21/2015
4.0.2 9,009 12/10/2015
4.0.1 77,473 12/3/2015
4.0.0 93,384 8/31/2015
4.0.0-beta2 4,769 8/26/2015
4.0.0-beta 3,649 8/17/2015
3.0.2.7 212,483 5/22/2015
3.0.2.6 50,424 3/20/2015
3.0.2.5 12,437 2/10/2015
3.0.2.4 3,982 2/7/2015
3.0.2.3 5,074 1/22/2015
3.0.2.2 4,147 1/19/2015
3.0.2.1 11,878 12/12/2014
3.0.2 23,652 10/15/2014
3.0.1.9 11,834 10/2/2014
3.0.1.8 5,509 9/15/2014
3.0.1.7 23,319 6/6/2014
3.0.1.6 19,588 3/17/2014
3.0.1.5 5,449 2/21/2014
3.0.1.4 4,298 2/16/2014
3.0.1.3 5,360 2/7/2014
3.0.1.2 9,255 12/10/2013
3.0.1.1 3,796 12/10/2013
3.0.1 4,702 11/7/2013
3.0.0.9 7,775 11/5/2013
3.0.0.8 8,083 10/4/2013
3.0.0.7 7,691 9/2/2013
3.0.0.6 7,405 6/27/2013
3.0.0.5 7,507 4/22/2013
3.0.0.4 8,264 4/21/2013