Install
.NET CLI
dotnet add package Microsoft.extensions.dependencyinjection --version 10.0.7
Package Manager Console
Install-Package Microsoft.extensions.dependencyinjection -Version 10.0.7
PackageReference
<PackageReference Include="Microsoft.extensions.dependencyinjection" Version="10.0.7" />
Frameworks
Dependencies
Microsoft.Bcl.AsyncInterfaces
[10.0.7, )
.NETFramework4.6.2
Microsoft.Extensions.DependencyInjection.Abstractions
[10.0.7, )
.NETFramework4.6.2
System.Threading.Tasks.Extensions
[4.6.3, )
.NETFramework4.6.2
[10.0.7, )
[10.0.7, )
[10.0.7, )
Microsoft.Bcl.AsyncInterfaces
[10.0.7, )
.NETStandard2.0
Microsoft.Extensions.DependencyInjection.Abstractions
[10.0.7, )
.NETStandard2.0
System.Threading.Tasks.Extensions
[4.6.3, )
.NETStandard2.0
Microsoft.Extensions.DependencyInjection.Abstractions
[10.0.7, )
.NETStandard2.1
Adoption guide
Most ASP.NET Core and worker services that prioritize low ceremony and first-party integration.
Why it appears in the guide: Built-in DI container abstractions and implementation used by the default .NET hosting model. Trade-off: Advanced container features are intentionally minimal compared with full-featured third-party containers.
Compatibility metadata lists 6 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.