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
+
+