From 8a535ee6ab372e07d95de88471bcbd3ebba4b4ba Mon Sep 17 00:00:00 2001 From: Chris Rummel Date: Mon, 14 Sep 2020 09:47:04 -0500 Subject: [PATCH] Don't do this in source-build - aspnetcore-targeting-pack.tar.gz not available. --- src/redist/targets/GeneratePKG.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redist/targets/GeneratePKG.targets b/src/redist/targets/GeneratePKG.targets index 1d14596fa..700ee7ab7 100644 --- a/src/redist/targets/GeneratePKG.targets +++ b/src/redist/targets/GeneratePKG.targets @@ -139,7 +139,7 @@ Inputs="@(GenerateSdkPkgInputs)" Outputs="$(SdkPKGInstallerFile)" DependsOnTargets="GenerateLayout;SetupPkgInputsOutputs" - Condition=" '$(OSName)' == 'osx' "> + Condition=" '$(OSName)' == 'osx' and '$(DotNetBuildFromSource)' != 'true' "> @@ -190,7 +190,7 @@ Inputs="@(GenerateSdkProductArchiveInputs)" Outputs="$(CombinedFrameworkSdkHostPKGInstallerFile)" DependsOnTargets="GenerateSdkPkg" - Condition=" '$(OSName)' == 'osx' "> + Condition=" '$(OSName)' == 'osx' and '$(DotNetBuildFromSource)' != 'true' ">