I have a dotnet core 1.1 application (In VS, targets .NETCoreApp 1.1). I can't install NLog 4.4.11 via NuGet because it has a dependency on dotnet framework. Nuget reports the following:
Package NLog 4.4.11 is not compatible with netcoreapp1.1
(.NETCoreApp,Version=v1.1). Package NLog 4.4.11 supports:
- monoandroid10 (MonoAndroid,Version=v1.0)
- net35 (.NETFramework,Version=v3.5)
- net40 (.NETFramework,Version=v4.0)
- net45 (.NETFramework,Version=v4.5)
- sl4 (Silverlight,Version=v4.0)
- sl5 (Silverlight,Version=v5.0)
- wp8 (WindowsPhone,Version=v8.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
So far so good.
However, NLog.Extensions.Logging (https://github.com/NLog/NLog.Extensions.Logging) is supposed to work against dotnet core, so I installed it. In VS 2017, this project includes NLog 4.4.11 as a dependency.
This is confusing because I can't use NLog directly, but can at one remove?
Anyone have some insight on this?