LightInject 6.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LightInject --version 6.0.0
                    
NuGet\Install-Package LightInject -Version 6.0.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="6.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LightInject" Version="6.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LightInject" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LightInject --version 6.0.0
                    
#r "nuget: LightInject, 6.0.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.
#addin nuget:?package=LightInject&version=6.0.0
                    
Install LightInject as a Cake Addin
#tool nuget:?package=LightInject&version=6.0.0
                    
Install LightInject as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 is compatible.  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 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 is compatible.  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 was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
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 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.

NuGet packages (185)

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 20 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. Used by over 150,000 organisations. Remember to Star us! Download from certifytheweb.com
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
SolrNet/SolrNet
Solr client for .Net
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
DevTeam/Pure.DI
Pure DI for .NET
replaysMike/Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
ExtendedXmlSerializer/home
A configurable and eXtensible Xml serializer for .NET.
Phrynohyas/eve-o-preview
An EVE client window switcher tool created to aid playing with multiple clients in CCP game EVE Online
MapWindow/MapWindow5
MW5 is a desktop GIS which is extendable using the plug-in architecture. It is using the MapWinGIS mapping control and is created from scratch in 2015 using new technologies like MEF and Dependency Injection making it small in size, robust and fast.
IsoFrieze/DiztinGUIsh
A Super NES ROM Disassembler
BrighterCommand/Darker
The query-side counterpart of Brighter
daniellittledev/Enexure.MicroBus
MicroBus is a simple in process Mediator for .NET
grigory-lobkov/rtsp-camera-view
View IP-camera RTSP in grid, auto bandwidth, full-screen, command line support
SRoddis/Mongo.Migration
On-the-fly migrations with MongoDB C# Driver
roy-t/MiniRTS
A game engine to learn about game engine development
haavamoa/xaml-code-experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Shazwazza/UmbracoIdentity
ASP.NET Identity implementation for Umbraco's native member data
Version Downloads Last updated
7.0.1 48,745 11/19/2024
7.0.0 17,802 11/6/2024
6.6.4 607,766 5/8/2023
6.6.3 237,206 12/31/2022
6.6.2 1,985 12/30/2022
6.6.1 374,088 9/19/2022
6.6.0 23,644 9/19/2022
6.5.2 42,087 9/9/2022
6.5.1 15,399 8/24/2022
6.5.0 5,776 8/16/2022
6.4.1 333,537 2/8/2022
6.4.0 906,428 10/19/2020
6.3.6 2,769 10/16/2020
6.3.5 496,288 9/23/2020
6.3.4 134,258 6/18/2020
6.3.3 123,189 5/12/2020
6.3.2 307,471 3/9/2020
6.3.1 7,702 3/2/2020
6.3.0 12,017 2/26/2020
6.2.1 37,572 2/11/2020
6.2.0 533,263 10/18/2019
6.1.0 127,018 9/12/2019
6.0.0 32,896 8/28/2019
5.5.0 868,772 5/16/2019
5.4.0 2,795,196 1/25/2019
5.3.0 189,791 12/10/2018
5.2.1 80,116 11/10/2018
5.2.0 119,002 9/28/2018
5.1.10 15,695 9/10/2018
5.1.8 22,510 8/23/2018
5.1.7 4,827 8/21/2018
5.1.6 12,632 8/7/2018
5.1.5 28,783 7/5/2018
5.1.4 21,814 6/24/2018
5.1.3 276,605 5/8/2018
5.1.2 153,505 1/13/2018
5.1.1 118,679 10/27/2017
5.1.0 92,139 8/23/2017
5.0.3 269,689 4/27/2017
5.0.2 41,152 3/7/2017
5.0.1 24,299 2/7/2017
5.0.0 622,668 1/3/2017
5.0.0-RC1 2,413 10/5/2016
4.1.5 75,143 11/28/2016
4.1.4 28,378 11/7/2016
4.1.3 7,805 11/2/2016
4.1.2 16,674 9/30/2016
4.1.1 25,910 9/6/2016
4.1.0 201,543 8/25/2016
4.0.11 158,867 7/4/2016
4.0.10 5,656 6/28/2016
4.0.10-rc2-2 3,926 5/25/2016
4.0.10-rc2 3,620 5/24/2016
4.0.9 51,702 4/5/2016
4.0.8 48,777 2/9/2016
4.0.7 34,535 2/7/2016
4.0.6 5,928 1/28/2016
4.0.5 3,960 1/28/2016
4.0.4 8,460 1/5/2016
4.0.3 10,311 12/21/2015
4.0.2 9,720 12/10/2015
4.0.1 80,450 12/3/2015
4.0.0 99,506 8/31/2015
4.0.0-beta2 4,916 8/26/2015
4.0.0-beta 3,872 8/17/2015
3.0.2.7 216,317 5/22/2015
3.0.2.6 55,008 3/20/2015
3.0.2.5 12,966 2/10/2015
3.0.2.4 4,147 2/7/2015
3.0.2.3 5,253 1/22/2015
3.0.2.2 4,311 1/19/2015
3.0.2.1 12,349 12/12/2014
3.0.2 23,920 10/15/2014
3.0.1.9 12,534 10/2/2014
3.0.1.8 5,760 9/15/2014
3.0.1.7 24,911 6/6/2014
3.0.1.6 19,828 3/17/2014
3.0.1.5 5,696 2/21/2014
3.0.1.4 4,488 2/16/2014
3.0.1.3 5,623 2/7/2014
3.0.1.2 9,485 12/10/2013
3.0.1.1 3,973 12/10/2013
3.0.1 4,915 11/7/2013
3.0.0.9 8,352 11/5/2013
3.0.0.8 8,288 10/4/2013
3.0.0.7 7,926 9/2/2013
3.0.0.6 7,623 6/27/2013
3.0.0.5 7,742 4/22/2013
3.0.0.4 8,492 4/21/2013