Having troubles building mission planner

Hi,

I have been trying to build Mission Planner with VS 2019, but each time I end up with the following errors :

‘ILoggerFactory’ does not contain a definition for ‘AddConsole’ and the best extension method overload ‘ConsoleLoggerExtensions.AddConsole(ILoggingBuilder)’ requires a receiver of type ‘ILoggingBuilder’

It seems that the method is obsolete with .net core 3.0…
I found that link https://docs.microsoft.com/fr-fr/aspnet/core/migration/logging-nonaspnetcore?view=aspnetcore-3.0 but I don’t know how I can change the code in order to fix that error.

Does anyone know how to fix that ?

Thanks for your help.

Dont build for .core 3.0 MP does not meant to use that target. Use Core 2.2 and .net 4.6.1 for target.

Thanks a lot !
It works perfectly fine now.