Answer the question
In order to leave comments, you need to log in
Problem with Microsoft.Extensions.Logging older than version 6.0.0-preview6.*?
After connecting to the web application template project of the Microsoft.Extensions.Logging package older than version 6.0.0-preview6.* or newer 6.0.0-rc.*, it fails with an exception
MissingMethodException: Method not found: 'System.Action`4<Microsoft.Extensions.Logging.ILogger,!!0,!!1,System.Exception> Microsoft.Extensions.Logging.LoggerMessage.Define(Microsoft.Extensions.Logging.LogLevel, Microsoft.Extensions.Logging.EventId, System.String, Boolean)'.
Answer the question
In order to leave comments, you need to log in
1. If Trimming is enabled, it can simply cut the method.
2. This is a Preview.
show csproj
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question