我正在嘗試將日誌記錄添加到.net核心web api項目,但是當添加nlog v 4.4.0時,錯誤表明它與我的核心v1不兼容,當我知道它是。NLog版本4.4.0的相關性不兼容.netcoreapp版本1
有人能告訴我哪個部分可能導致project.json文件中的問題?
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.1",
"Microsoft.AspNetCore.Mvc.Formatters.Xml": "1.0.1",
"Microsoft.AspNetCore.Mvc.Formatters.Json": "1.0.1",
"Microsoft.AspNetCore.Routing": "1.0.1",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"NETStandard.Library": "1.6.0",
"System.Data.SqlClient": "4.1.0",
"NLog.Config": "4.4.0",
"NLog": "4.4.0"