How to fix ‘notnull type constraint is unavailable’ in .NET Standard 2.0 when implementing custom Microsoft.Extensions.Logging.ILogger interface?
I am implementing a custom SQL Server implementation of Microsoft.Extensions.Logging.ILogger. The NuGet package states that it is compatible with .NET Standard 2.0, so I added a class library to my solution targeting .NET Standard 2.0.