autofac breaking changes
autofac 9.0.0 (November 18, 2025) is its newest release with breaking changes. The first: Drops support for .NET 6 and .NET 7 target frameworks in Autofac 9.0.0. Every breaking API change we have recorded in autofac on NuGet: 81 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.3.4, released September 18, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
- From 8.0.0 to 9.0.0: 1 breaking change in 1 version.
- From 3.0.0 to 9.0.0: 24 breaking changes in 3 versions.
autofac 9.0.0 breaking changes
- Removed
Support for net6.0 and net7.0 has been dropped. Projects targeting those frameworks must move to a supported target framework such as net8.0 or net10.0. github.com
autofac 8.0.0 breaking changes
- Removed
Support and testing for netcoreapp3.1 were removed, so projects targeting it must move to a supported target framework. github.com - Behavior changed
ResolveRequest
ResolveRequest changed from a reference type to a readonly struct, so code relying on reference semantics or null checks may need updating. github.com - Signature changed
Autofac.Core.Container.ResolveComponent
Was object ResolveComponent(Autofac.ResolveRequest request); now object ResolveComponent(ref Autofac.ResolveRequest request). nuget.org - Signature changed
Autofac.Core.ImplicitRegistrationSource.ResolveInstance
Was protected abstract object ResolveInstance<T>(Autofac.IComponentContext ctx, Autofac.ResolveRequest request); now protected abstract object ResolveInstance<T>(Autofac.IComponentContext ctx, ref Autofac.ResolveRequest request). nuget.org - Signature changed
Autofac.Core.ISharingLifetimeScope.ResolveComponent
Was object ResolveComponent(Autofac.ResolveRequest request); now object ResolveComponent(ref Autofac.ResolveRequest request). nuget.org - Signature changed
Autofac.Core.Lifetime.LifetimeScope.ResolveComponent
Was object ResolveComponent(Autofac.ResolveRequest request); now object ResolveComponent(ref Autofac.ResolveRequest request). nuget.org - Signature changed
Autofac.Core.Resolving.IDependencyTrackingResolveOperation.GetOrCreateInstance
Was object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.ResolveRequest request); now object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope currentOperationScope, ref Autofac.ResolveRequest... nuget.org - Signature changed
Autofac.Core.Resolving.IDependencyTrackingResolveOperation.InitiatingRequest
Was Autofac.ResolveRequest InitiatingRequest {get;}; now Autofac.ResolveRequest? InitiatingRequest {get;}. nuget.org - Signature changed
Autofac.Core.Resolving.IResolveOperation.GetOrCreateInstance
Was object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.ResolveRequest request); now object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope currentOperationScope, ref Autofac.ResolveRequest... nuget.org - Signature changed
Autofac.Core.Resolving.IResolveOperation.InitiatingRequest
Was Autofac.ResolveRequest InitiatingRequest {get;}; now Autofac.ResolveRequest? InitiatingRequest {get;}. nuget.org
And 7 more in this version. Sign up to see every change
autofac 7.0.0 breaking changes
- Removed
Autofac no longer targets net50. .NET 5 users can still use the netstandard2.1 target, but should upgrade to a supported .NET version. github.com - Behavior changed
Components with required properties are injected automatically. If a required property cannot be resolved, an exception is thrown. github.com - Behavior changed
PropertiesAutowired
Default property injection skips required properties, so they must be set during construction instead. github.com - Signature changed
Autofac.Core.ReflectionCacheClearPredicate.BeginInvoke
Was virtual System.IAsyncResult BeginInvoke(System.Reflection.Assembly assembly, System.Reflection.MemberInfo member, System.AsyncCallback callback, object object); now virtual System.IAsyncResult BeginInvoke(System.Reflection.MemberInfo... nuget.org - Signature changed
Autofac.Core.ReflectionCacheClearPredicate.Invoke
Was virtual bool Invoke(System.Reflection.Assembly assembly, System.Reflection.MemberInfo member); now virtual bool Invoke(System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable<System.Reflection.Assembly>... nuget.org - Signature changed
ILifetimeScope
Custom or mocked ILifetimeScope implementations must now implement BeginLoadContextLifetimeScope; existing BeginLifetimeScope methods can be called instead. github.com
autofac 3.0.0 breaking changes
- Removed
Autofac.Builder.ContainerBuildOptions.Default
Autofac.Builder.ContainerBuildOptions.Default was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ComponentElementCollection
Autofac.Configuration.ComponentElementCollection was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ConfigurationSettingsReader.DefaultSectionName
Autofac.Configuration.ConfigurationSettingsReader.DefaultSectionName was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ConfigurationSettingsReader.LoadType
Autofac.Configuration.ConfigurationSettingsReader.LoadType was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ConfigurationSettingsReader.SetInjectProperties
Autofac.Configuration.ConfigurationSettingsReader.SetInjectProperties was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ConfigurationSettingsReader.SetOwnership
Autofac.Configuration.ConfigurationSettingsReader.SetOwnership was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ConfigurationSettingsReader.SetScope
Autofac.Configuration.ConfigurationSettingsReader.SetScope was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.DictionaryElementCollection
Autofac.Configuration.DictionaryElementCollection was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.FileElementCollection
Autofac.Configuration.FileElementCollection was removed in Autofac 3.0.0 nuget.org - Removed
Autofac.Configuration.ListElementCollection
Autofac.Configuration.ListElementCollection was removed in Autofac 3.0.0 nuget.org
And 47 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.