mirror of
https://github.com/CoreUnion/CoreShop.git
synced 2026-10-17 05:12:39 +08:00
@@ -93,9 +93,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="nlog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Update="wwwroot\favicon.ico">
|
||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CoreCms.Net.Web.Admin
|
||||
try
|
||||
{
|
||||
//确保NLog.config中连接字符串与appsettings.json中同步
|
||||
NLogUtil.EnsureNlogConfig("nLog.config");
|
||||
NLogUtil.EnsureNlogConfig("NLog.config");
|
||||
//throw new Exception("测试异常");//for test
|
||||
//其他项目启动时需要做的事情
|
||||
NLogUtil.WriteAll(NLog.LogLevel.Trace, LogType.Web, "网站启动", "网站启动成功");
|
||||
|
||||
@@ -86,12 +86,6 @@
|
||||
<ProjectReference Include="..\CoreCms.Net.WeChatService\CoreCms.Net.WeChatService.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="nlog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="wwwroot\assets\bootstrap\css\bootstrap-theme.css.map" />
|
||||
<None Include="wwwroot\assets\bootstrap\css\bootstrap.css.map" />
|
||||
|
||||
@@ -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, "接口启动", "接口启动成功");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user