The type LoggingBuilderExtensions is in both Microsoft.Extensions.Logging and Microsoft.Extensions.Logging.Configuration
This is a pre-existing issue and, as a side effect, it makes it impossible to use LoggingBuilderExtensions when referencing both assemblies.
A part of PR https://github.com/dotnet/runtime/pull/33984/files makes a change to suppress the duplicate error for now.