Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Sources/HostBox/HostBox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
<PackageReference Include="HostBox.Borderline" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NLog" Version="4.7.12" />
<PackageReference Include="NLog" Version="5.3.2" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.11" />
</ItemGroup>
<ItemGroup>
<None Update="hostsettings.json">
Expand Down
2 changes: 2 additions & 0 deletions Sources/HostBox/Web/HostboxWebExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NLog.Web;

namespace HostBox.Web
{
Expand All @@ -14,6 +15,7 @@ public static void ConfigureWebHost(IHostBuilder builder, CommandLineArgs args)
{
if (args.Web)
{
builder.UseNLog();
builder
.ConfigureWebHostDefaults(b =>
{
Expand Down