diff --git a/TASVideos/Program.cs b/TASVideos/Program.cs index a14f4fd16..94ae7d3bd 100644 --- a/TASVideos/Program.cs +++ b/TASVideos/Program.cs @@ -42,7 +42,7 @@ pipeline.AddScssBundle("/css/forum.css", "/css/forum.scss"); }); -builder.WebHost.UseSerilog(); +builder.Host.UseSerilog(); // We use false to support GitVersionTask. // This also suppresses the creation of [assembly: UserSecretsId("...")], so builder.Configuration.AddUserSecrets() will not work. diff --git a/TASVideos/TASVideos.csproj b/TASVideos/TASVideos.csproj index b371715fe..9ca7eac89 100644 --- a/TASVideos/TASVideos.csproj +++ b/TASVideos/TASVideos.csproj @@ -45,7 +45,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive