net-commons / common-logging

A portable logging abstraction for .NET
http://net-commons.github.io/common-logging
Apache License 2.0
649 stars 205 forks source link

Common.Logging.NLog4xx through a warning when used in .NET standard 2.0 project #165

Open passuied opened 6 years ago

passuied commented 6 years ago

When adding a reference to Common.Logging.NLog4xx NuGet inside a .NET standard project, you get the following warning:

Package 'Common.Logging.NLog444 3.4.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

Any ways to avoid this?

davevans commented 6 years ago

I have the same issue. Is there a reason the Common.Logging.NLog4XX adapters do not support netstandard?

snakefoot commented 5 years ago

Created PR #176 for resolving this. (Includes custom build of nuget-package as attachment)