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.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(); 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 @@ +