autofac/Examples

Why Autofac could not run when using reflection to inject it ON .NET 6

SenkuuChin opened this issue · 0 comments

Describe the Bug

Steps to Reproduce

public class ReproTest
{
  [Fact]
  public void Repro()
  {
    var builder = new ContainerBuilder();
    var container = builder.Build();
    Assert.NotNull(container);
  }
}

Expected Behavior

Exception with Stack Trace

Put the exception with stack trace here.

Dependency Versions

Autofac:

Autofac, Version=6.0.0.0
Autofac.Extensions.DependencyInjection, Version=7.2.0.0

Additional Info