fix nlog case

pull/26/head
Bobo 4 years ago
parent 22953b65ed
commit 4b9149c95b

@ -87,7 +87,7 @@
</ItemGroup>
<ItemGroup>
<Content Update="nlog.config">
<Content Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

@ -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, "接口启动", "接口启动成功");

Loading…
Cancel
Save