LightInject 4.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LightInject --version 4.1.0                
NuGet\Install-Package LightInject -Version 4.1.0                
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="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightInject --version 4.1.0                
#r "nuget: LightInject, 4.1.0"                
#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=4.1.0

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

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 was computed.  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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  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 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch is compatible. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios is compatible. 
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.

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.0 1,381 11/6/2024
6.6.4 411,864 5/8/2023
6.6.3 172,876 12/31/2022
6.6.2 1,770 12/30/2022
6.6.1 299,440 9/19/2022
6.6.0 19,661 9/19/2022
6.5.2 41,688 9/9/2022
6.5.1 15,093 8/24/2022
6.5.0 5,317 8/16/2022
6.4.1 296,131 2/8/2022
6.4.0 817,705 10/19/2020
6.3.6 2,522 10/16/2020
6.3.5 463,042 9/23/2020
6.3.4 128,925 6/18/2020
6.3.3 120,204 5/12/2020
6.3.2 294,501 3/9/2020
6.3.1 7,346 3/2/2020
6.3.0 11,596 2/26/2020
6.2.1 36,308 2/11/2020
6.2.0 470,419 10/18/2019
6.1.0 124,783 9/12/2019
6.0.0 32,207 8/28/2019
5.5.0 763,415 5/16/2019
5.4.0 2,599,936 1/25/2019
5.3.0 189,504 12/10/2018
5.2.1 76,301 11/10/2018
5.2.0 115,121 9/28/2018
5.1.10 15,225 9/10/2018
5.1.8 22,028 8/23/2018
5.1.7 4,597 8/21/2018
5.1.6 11,275 8/7/2018
5.1.5 27,953 7/5/2018
5.1.4 21,354 6/24/2018
5.1.3 259,002 5/8/2018
5.1.2 146,821 1/13/2018
5.1.1 112,779 10/27/2017
5.1.0 86,612 8/23/2017
5.0.3 263,858 4/27/2017
5.0.2 40,265 3/7/2017
5.0.1 24,091 2/7/2017
5.0.0 516,896 1/3/2017
5.0.0-RC1 2,300 10/5/2016
4.1.5 72,351 11/28/2016
4.1.4 26,960 11/7/2016
4.1.3 7,642 11/2/2016
4.1.2 16,505 9/30/2016
4.1.1 24,893 9/6/2016
4.1.0 162,832 8/25/2016
4.0.11 158,099 7/4/2016
4.0.10 5,366 6/28/2016
4.0.10-rc2-2 3,813 5/25/2016
4.0.10-rc2 3,508 5/24/2016
4.0.9 50,985 4/5/2016
4.0.8 45,956 2/9/2016
4.0.7 32,681 2/7/2016
4.0.6 5,792 1/28/2016
4.0.5 3,828 1/28/2016
4.0.4 8,245 1/5/2016
4.0.3 10,145 12/21/2015
4.0.2 9,276 12/10/2015
4.0.1 78,988 12/3/2015
4.0.0 96,427 8/31/2015
4.0.0-beta2 4,801 8/26/2015
4.0.0-beta 3,690 8/17/2015
3.0.2.7 214,632 5/22/2015
3.0.2.6 52,224 3/20/2015
3.0.2.5 12,710 2/10/2015
3.0.2.4 4,016 2/7/2015
3.0.2.3 5,125 1/22/2015
3.0.2.2 4,180 1/19/2015
3.0.2.1 11,988 12/12/2014
3.0.2 23,781 10/15/2014
3.0.1.9 12,159 10/2/2014
3.0.1.8 5,619 9/15/2014
3.0.1.7 24,167 6/6/2014
3.0.1.6 19,678 3/17/2014
3.0.1.5 5,562 2/21/2014
3.0.1.4 4,345 2/16/2014
3.0.1.3 5,474 2/7/2014
3.0.1.2 9,336 12/10/2013
3.0.1.1 3,837 12/10/2013
3.0.1 4,780 11/7/2013
3.0.0.9 8,014 11/5/2013
3.0.0.8 8,154 10/4/2013
3.0.0.7 7,792 9/2/2013
3.0.0.6 7,476 6/27/2013
3.0.0.5 7,603 4/22/2013
3.0.0.4 8,343 4/21/2013