From ec3e5b09850cc28cfbc9de3a3868885fd367fd9d Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sat, 25 Apr 2026 15:00:58 +0700 Subject: [PATCH 1/2] Fix deps issue --- .../BervProject.WebApi.Boilerplate.AppHost.csproj | 12 ++++++++---- ...roject.WebApi.Boilerplate.MigrationService.csproj | 3 ++- .../BervProject.WebApi.Boilerplate.csproj | 12 ++++++++---- .../BervProject.WebApi.Integration.Test.csproj | 1 + 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/BervProject.WebApi.Boilerplate.AppHost/BervProject.WebApi.Boilerplate.AppHost.csproj b/BervProject.WebApi.Boilerplate.AppHost/BervProject.WebApi.Boilerplate.AppHost.csproj index e77115a3..6356baf4 100644 --- a/BervProject.WebApi.Boilerplate.AppHost/BervProject.WebApi.Boilerplate.AppHost.csproj +++ b/BervProject.WebApi.Boilerplate.AppHost/BervProject.WebApi.Boilerplate.AppHost.csproj @@ -11,12 +11,16 @@ - - - + + + + - + + + + diff --git a/BervProject.WebApi.Boilerplate.MigrationService/BervProject.WebApi.Boilerplate.MigrationService.csproj b/BervProject.WebApi.Boilerplate.MigrationService/BervProject.WebApi.Boilerplate.MigrationService.csproj index 6f59179e..0bb91358 100644 --- a/BervProject.WebApi.Boilerplate.MigrationService/BervProject.WebApi.Boilerplate.MigrationService.csproj +++ b/BervProject.WebApi.Boilerplate.MigrationService/BervProject.WebApi.Boilerplate.MigrationService.csproj @@ -8,9 +8,10 @@ - + + diff --git a/BervProject.WebApi.Boilerplate/BervProject.WebApi.Boilerplate.csproj b/BervProject.WebApi.Boilerplate/BervProject.WebApi.Boilerplate.csproj index 8f5c181a..cb2da822 100644 --- a/BervProject.WebApi.Boilerplate/BervProject.WebApi.Boilerplate.csproj +++ b/BervProject.WebApi.Boilerplate/BervProject.WebApi.Boilerplate.csproj @@ -17,10 +17,10 @@ - - - - + + + + @@ -34,6 +34,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/BervProject.WebApi.Integration.Test/BervProject.WebApi.Integration.Test.csproj b/BervProject.WebApi.Integration.Test/BervProject.WebApi.Integration.Test.csproj index 4abe7074..fd850972 100644 --- a/BervProject.WebApi.Integration.Test/BervProject.WebApi.Integration.Test.csproj +++ b/BervProject.WebApi.Integration.Test/BervProject.WebApi.Integration.Test.csproj @@ -10,6 +10,7 @@ + From f0b110e2b04454e7a163ea6df08c578fd5663e9e Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sat, 25 Apr 2026 15:03:35 +0700 Subject: [PATCH 2/2] test --- BervProject.WebApi.Boilerplate/Program.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BervProject.WebApi.Boilerplate/Program.cs b/BervProject.WebApi.Boilerplate/Program.cs index 14e134a6..d2aeff2a 100644 --- a/BervProject.WebApi.Boilerplate/Program.cs +++ b/BervProject.WebApi.Boilerplate/Program.cs @@ -16,11 +16,11 @@ var builder = WebApplication.CreateBuilder(args); builder.AddServiceDefaults(); -builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()); -builder.Logging.ClearProviders(); -builder.Logging.SetMinimumLevel(LogLevel.Trace); -builder.Logging.AddNLogWeb("Nlog.config"); -builder.Host.UseNLog(); +// builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()); +// builder.Logging.ClearProviders(); +// builder.Logging.SetMinimumLevel(LogLevel.Trace); +// builder.Logging.AddNLogWeb("Nlog.config"); +// builder.Host.UseNLog(); // settings injection var awsConfig = builder.Configuration.GetSection("AWS").Get();