Skip to content

ILogger deprecated for .NET core 3.1 -  #9

@antoabbot

Description

@antoabbot

I am successfully using your ROS port from .NET core 3.1, via Nuget, when run in a console Application

However, when I run the same from within an ASP.net core App, I get an error (Method not found) whenever the ROS static instance is declared. This is due to the ILogger interface being deprecated.

Method not found: 'Void Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider..ctor(System.Func`3<System.String,Microsoft.Extensions.Logging.LogLevel,Boolean>, Boolean)'.

This occurs in any .NET core 3.1 ASP.NET core or related App that uses the Microsoft.AspnetCore.App (3.1.2) framework.

I see that the code is utilising the ILogger interface. I have pulled a local copy of the code to try fix but I cannot find the Uml.Robotis.Ros.Messages project seems to be missing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions