From 4b9149c95b0e3461567697c16f649c377ddeae94 Mon Sep 17 00:00:00 2001 From: Bobo Date: Sun, 20 Jun 2021 00:20:36 +0800 Subject: [PATCH] fix nlog case --- CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj | 2 +- CoreCms.Net.Web.WebApi/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj index 738e2cb..6d76fe3 100644 --- a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj +++ b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.csproj @@ -87,7 +87,7 @@ - + Always diff --git a/CoreCms.Net.Web.WebApi/Program.cs b/CoreCms.Net.Web.WebApi/Program.cs index 1c18470..bdeb09b 100644 --- a/CoreCms.Net.Web.WebApi/Program.cs +++ b/CoreCms.Net.Web.WebApi/Program.cs @@ -26,7 +26,7 @@ namespace CoreCms.Net.Web.WebApi try { //确保NLog.config中连接字符串与appsettings.json中同步 - NLogUtil.EnsureNlogConfig("nLog.config"); + NLogUtil.EnsureNlogConfig("NLog.config"); //其他项目启动时需要做的事情 NLogUtil.WriteAll(LogLevel.Trace, LogType.Web, "接口启动", "接口启动成功");