From 22155f652bd6dd93666b09363fbd9debfeb9e2c3 Mon Sep 17 00:00:00 2001 From: Tom Bonner Date: Wed, 6 Feb 2019 10:42:41 +0000 Subject: [PATCH] Fixed PropertyGroup using wrong values because it's defined too early (#4057) --- ...Script.ExtensionsMetadataGenerator.targets | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets b/tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets index c5a9a591d1..21994c3195 100644 --- a/tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets +++ b/tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets @@ -6,9 +6,6 @@ <_FunctionsExtensionsTasksDir Condition=" '$(_FunctionsExtensionsTasksDir)'=='' ">$(MSBuildThisFileDirectory)..\tools\$(_FunctionsExtensionsTaskFramework) <_FunctionsExtensionsTaskAssemblyFullPath Condition=" '$(_FunctionsExtensionsTaskAssemblyFullPath)'=='' ">$(_FunctionsExtensionsTasksDir)\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.dll false - <_IsFunctionsSdkBuild Condition="$(_FunctionsTaskFramework) != ''">true - <_FunctionsExtensionsDir>$(TargetDir) - <_FunctionsExtensionsDir Condition="$(_IsFunctionsSdkBuild) == 'true'">$(_FunctionsExtensionsDir)bin - + + + <_IsFunctionsSdkBuild Condition="$(_FunctionsTaskFramework) != ''">true + <_FunctionsExtensionsDir>$(TargetDir) + <_FunctionsExtensionsDir Condition="$(_IsFunctionsSdkBuild) == 'true'">$(_FunctionsExtensionsDir)bin + + @@ -27,7 +30,7 @@ OverwriteReadOnlyFiles="true" ContinueOnError="true"/> - + + + <_IsFunctionsSdkBuild Condition="$(_FunctionsTaskFramework) != ''">true + <_FunctionsExtensionsDir>$(TargetDir) + <_FunctionsExtensionsDir Condition="$(_IsFunctionsSdkBuild) == 'true'">$(_FunctionsExtensionsDir)bin + +