---
title: "microsoft.extensions.dependencyinjection (nuget) | Since.dev"
description: "What each microsoft.extensions.dependencyinjection release removed, renamed or changed: 5 breaking changes in 5 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/microsoft.extensions.dependencyinjection
last_updated: 2026-12-04
---

# microsoft.extensions.dependencyinjection breaking changes

microsoft.extensions.dependencyinjection 6.0.36 (November 7, 2022) is its newest release with breaking changes. The first: Build images moved from Red Hat 7 to 8 in 6.0.36 in Microsoft.Extensions.DependencyInjection 6.0.36. Every breaking API change we have recorded in microsoft.extensions.dependencyinjection on NuGet: 5 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `11.0.0`, released November 10, 2026. [Source repository](https://github.com/dotnet/dotnet)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [2.0.0](#v-2-0-0) to [6.0.36](#v-6-0-36): 4 breaking changes in 4 versions.

## microsoft.extensions.dependencyinjection 6.0.36 breaking changes

microsoft.extensions.dependencyinjection 6.0.36, released November 7, 2022: 1 breaking change.

- **Behavior changed**  

Build and test infrastructure was updated from RedHat 7 to RedHat 8; this does not change package code. [github.com](https://github.com/dotnet/runtime/releases/tag/v6.0.36)

## microsoft.extensions.dependencyinjection 6.0.30 breaking changes

microsoft.extensions.dependencyinjection 6.0.30, released November 7, 2022: 1 breaking change.

- **Behavior changed**  

The bundled zlib was upgraded to 1.3.1. [github.com](https://github.com/dotnet/runtime/releases/tag/v6.0.30)

## microsoft.extensions.dependencyinjection 6.0.25 breaking changes

microsoft.extensions.dependencyinjection 6.0.25, released November 7, 2022: 1 breaking change.

- **Behavior changed**  

The bundled zlib was updated to v1.2.13 and gained memory protections; code relying on the previous zlib behavior should be checked. [github.com](https://github.com/dotnet/runtime/releases/tag/v6.0.25)

## microsoft.extensions.dependencyinjection 6.0.0 breaking changes

microsoft.extensions.dependencyinjection 6.0.0, released November 8, 2021: 1 breaking change.

- **Removed** `Microsoft.Extensions.DependencyInjection.ServiceCollection`  

Microsoft.Extensions.DependencyInjection.ServiceCollection was removed in Microsoft.Extensions.DependencyInjection 6.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/6.0.0)

## microsoft.extensions.dependencyinjection 2.0.0 breaking changes

microsoft.extensions.dependencyinjection 2.0.0, released August 11, 2017: 1 breaking change.

- **Signature changed** `Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider`  

Was static System.IServiceProvider BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection services) static System.IServiceProvider BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection... [nuget.org](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/2.0.0)

## Related packages

- [microsoft.aspnetcore.app.ref](https://since.dev/packages/nuget/microsoft.aspnetcore.app.ref.md)
- [microsoft.aspnetcore.components.webassembly](https://since.dev/packages/nuget/microsoft.aspnetcore.components.webassembly.md)
- [microsoft.aspnetcore.components](https://since.dev/packages/nuget/microsoft.aspnetcore.components.md)
- [microsoft.entityframeworkcore](https://since.dev/packages/nuget/microsoft.entityframeworkcore.md)
- [system.diagnostics.diagnosticsource](https://since.dev/packages/nuget/system.diagnostics.diagnosticsource.md)
- [microsoft.entityframeworkcore.design](https://since.dev/packages/nuget/microsoft.entityframeworkcore.design.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
