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 (182)

Showing the top 5 NuGet packages that depend on LightInject:

Package Downloads
UmbracoCms.Core

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 (20)

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

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
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
SolrNet/SolrNet
Solr client for .Net
Version Downloads Last updated
7.0.1 316 11/19/2024
7.0.0 1,714 11/6/2024
6.6.4 416,543 5/8/2023
6.6.3 173,933 12/31/2022
6.6.2 1,771 12/30/2022
6.6.1 300,860 9/19/2022
6.6.0 19,733 9/19/2022
6.5.2 41,693 9/9/2022
6.5.1 15,100 8/24/2022
6.5.0 5,325 8/16/2022
6.4.1 296,838 2/8/2022
6.4.0 819,625 10/19/2020
6.3.6 2,523 10/16/2020
6.3.5 463,976 9/23/2020
6.3.4 129,043 6/18/2020
6.3.3 120,249 5/12/2020
6.3.2 294,673 3/9/2020
6.3.1 7,347 3/2/2020
6.3.0 11,597 2/26/2020
6.2.1 36,329 2/11/2020
6.2.0 471,741 10/18/2019
6.1.0 124,802 9/12/2019
6.0.0 32,211 8/28/2019
5.5.0 765,209 5/16/2019
5.4.0 2,604,140 1/25/2019
5.3.0 189,505 12/10/2018
5.2.1 76,404 11/10/2018
5.2.0 115,207 9/28/2018
5.1.10 15,234 9/10/2018
5.1.8 22,041 8/23/2018
5.1.7 4,599 8/21/2018
5.1.6 11,310 8/7/2018
5.1.5 27,957 7/5/2018
5.1.4 21,359 6/24/2018
5.1.3 259,397 5/8/2018
5.1.2 146,920 1/13/2018
5.1.1 112,858 10/27/2017
5.1.0 86,716 8/23/2017
5.0.3 263,998 4/27/2017
5.0.2 40,273 3/7/2017
5.0.1 24,092 2/7/2017
5.0.0 518,782 1/3/2017
5.0.0-RC1 2,303 10/5/2016
4.1.5 72,416 11/28/2016
4.1.4 26,985 11/7/2016
4.1.3 7,643 11/2/2016
4.1.2 16,506 9/30/2016
4.1.1 24,899 9/6/2016
4.1.0 163,620 8/25/2016
4.0.11 158,110 7/4/2016
4.0.10 5,369 6/28/2016
4.0.10-rc2-2 3,814 5/25/2016
4.0.10-rc2 3,509 5/24/2016
4.0.9 50,994 4/5/2016
4.0.8 45,976 2/9/2016
4.0.7 32,710 2/7/2016
4.0.6 5,793 1/28/2016
4.0.5 3,829 1/28/2016
4.0.4 8,248 1/5/2016
4.0.3 10,146 12/21/2015
4.0.2 9,280 12/10/2015
4.0.1 79,013 12/3/2015
4.0.0 96,449 8/31/2015
4.0.0-beta2 4,802 8/26/2015
4.0.0-beta 3,691 8/17/2015
3.0.2.7 214,658 5/22/2015
3.0.2.6 52,232 3/20/2015
3.0.2.5 12,712 2/10/2015
3.0.2.4 4,017 2/7/2015
3.0.2.3 5,126 1/22/2015
3.0.2.2 4,181 1/19/2015
3.0.2.1 11,989 12/12/2014
3.0.2 23,782 10/15/2014
3.0.1.9 12,171 10/2/2014
3.0.1.8 5,620 9/15/2014
3.0.1.7 24,174 6/6/2014
3.0.1.6 19,679 3/17/2014
3.0.1.5 5,563 2/21/2014
3.0.1.4 4,346 2/16/2014
3.0.1.3 5,475 2/7/2014
3.0.1.2 9,337 12/10/2013
3.0.1.1 3,838 12/10/2013
3.0.1 4,781 11/7/2013
3.0.0.9 8,019 11/5/2013
3.0.0.8 8,155 10/4/2013
3.0.0.7 7,793 9/2/2013
3.0.0.6 7,491 6/27/2013
3.0.0.5 7,604 4/22/2013
3.0.0.4 8,344 4/21/2013