From f9d2f753f983f284350e3d99fc5f7c071888b2d4 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Wed, 30 Aug 2017 10:39:44 -0500 Subject: [PATCH] Pass through the Configuration when restoring. Since BaseIntermediateOutputPath depends on Configuration, it needs to be flown properly. Commit migrated from https://github.com/dotnet/core-setup/commit/f320e6a8fc9336b01616fc53a49055983dfc9cc9 --- src/installer/build.proj | 2 +- src/installer/sharedFramework/sharedFramework.proj | 8 ++++++-- src/installer/test/dir.proj | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/installer/build.proj b/src/installer/build.proj index f123037..667eb78 100644 --- a/src/installer/build.proj +++ b/src/installer/build.proj @@ -36,7 +36,7 @@ - + diff --git a/src/installer/sharedFramework/sharedFramework.proj b/src/installer/sharedFramework/sharedFramework.proj index 8a7d0f9..629659d 100644 --- a/src/installer/sharedFramework/sharedFramework.proj +++ b/src/installer/sharedFramework/sharedFramework.proj @@ -16,6 +16,10 @@ + + $(MSBuildPassThroughPropertyList) /p:TargetFramework=$(Framework) /p:RuntimeIdentifier=$(PackageTargetRid) + + $(MSBuildThisFileDirectory)framework - /p:TargetFramework=$(Framework) /p:RuntimeIdentifier=$(PackageTargetRid) /p:RuntimeFrameworkVersion=$(SharedFrameworkNugetVersion) + $(CommonProjectArgs) /p:RuntimeFrameworkVersion=$(SharedFrameworkNugetVersion) @@ -133,7 +137,7 @@ $(MSBuildThisFileDirectory)lockedhost - /p:TargetFramework=$(Framework) /p:RuntimeIdentifier=$(PackageTargetRid) /p:HostResolverVersion=$(HostResolverVersion) /p:HostVersion=$(HostVersion) + $(CommonProjectArgs) /p:HostResolverVersion=$(HostResolverVersion) /p:HostVersion=$(HostVersion) diff --git a/src/installer/test/dir.proj b/src/installer/test/dir.proj index 3f1898a..dfce040 100644 --- a/src/installer/test/dir.proj +++ b/src/installer/test/dir.proj @@ -47,7 +47,7 @@ @(RestoreTestSource->'--source %(Identity)', ' ') $(RestoreSourceArg) @(RestoreTestFallbackSource->'--source %(Identity)', ' ') --disable-parallel --packages "$(PackagesDir.TrimEnd('/').TrimEnd('\'))" $(RestoreSourceArg) - $(RestoreArgs) /p:MNAVersion=$(ProductVersion) /p:TestTargetRid=$(TestTargetRid) + $(RestoreArgs) $(MSBuildPassThroughPropertyList) /p:MNAVersion=$(ProductVersion) /p:TestTargetRid=$(TestTargetRid) DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 @@ -59,7 +59,7 @@ DependsOnTargets="DetermineTestOutputDirectory"> - --configuration $(ConfigurationGroup) + $(MSBuildPassThroughPropertyList) @@ -84,7 +84,7 @@ $([System.String]::Copy('$(SystemPathTestsOutputDir)').Replace('\', '$(DirectorySeparatorChar)')) - --configuration $(ConfigurationGroup) + $(MSBuildPassThroughPropertyList) true $(TestsOutputDir)$(TestProjectFilename)-testResults.trx -- 2.7.4