From 6fcf83fe22c07bb1266c2f7c316c40dd9459e3d2 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 2 Jun 2017 10:47:54 -0700 Subject: [PATCH 1/2] React to logging in DI change --- src/Microsoft.AspNetCore/WebHost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore/WebHost.cs b/src/Microsoft.AspNetCore/WebHost.cs index 10917099dc..c7f0549601 100644 --- a/src/Microsoft.AspNetCore/WebHost.cs +++ b/src/Microsoft.AspNetCore/WebHost.cs @@ -180,7 +180,7 @@ namespace Microsoft.AspNetCore }) .ConfigureLogging((hostingContext, logging) => { - logging.UseConfiguration(hostingContext.Configuration.GetSection("Logging")); + logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging")); logging.AddConsole(); logging.AddDebug(); }) From 2625e2a7682cebaf8835ec178dd8ae86d68acee1 Mon Sep 17 00:00:00 2001 From: John Luo Date: Thu, 1 Jun 2017 17:21:16 -0700 Subject: [PATCH 2/2] Consolidate runtime store dependencies into one package --- build/repo.targets | 21 ++++++++++++++++++- .../Microsoft.AspNetCore.RuntimeStore.csproj | 2 +- .../Build.RuntimeStore.References.csproj | 13 ++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 tools/Build.RuntimeStore.References/Build.RuntimeStore.References.csproj diff --git a/build/repo.targets b/build/repo.targets index 0eb7b0e245..b267de7f01 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -32,6 +32,8 @@ $(ArtifactsDir)temp\ $(RepositoryRoot)tools\ $(RepositoryRoot).deps\build\ + $(ToolsDir)Build.RuntimeStore.References\ + $(RuntimeStoreReferenceDirectory)bin\Release\ $(PrepareDependsOn); UpdateNuGetConfig @@ -52,6 +54,8 @@ + + win$(PACKAGE_CACHE_PLATFORM) linux @@ -64,10 +68,25 @@ $(ArtifactsDir)Build.RS.$(OutputZipSufix).zip + + + + + + + - + + + diff --git a/src/Microsoft.AspNetCore.RuntimeStore/Microsoft.AspNetCore.RuntimeStore.csproj b/src/Microsoft.AspNetCore.RuntimeStore/Microsoft.AspNetCore.RuntimeStore.csproj index 3cce763f2b..0e7105f770 100644 --- a/src/Microsoft.AspNetCore.RuntimeStore/Microsoft.AspNetCore.RuntimeStore.csproj +++ b/src/Microsoft.AspNetCore.RuntimeStore/Microsoft.AspNetCore.RuntimeStore.csproj @@ -7,6 +7,6 @@ - + diff --git a/tools/Build.RuntimeStore.References/Build.RuntimeStore.References.csproj b/tools/Build.RuntimeStore.References/Build.RuntimeStore.References.csproj new file mode 100644 index 0000000000..4a3a2eaaec --- /dev/null +++ b/tools/Build.RuntimeStore.References/Build.RuntimeStore.References.csproj @@ -0,0 +1,13 @@ + + + + + + false + netcoreapp2.0 + + + + + +