Fix metadata generator so that extensions.json is included when publishing
MODIFY
tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets
tools/ExtensionsMetadataGenerator/src/ExtensionsMetadataGenerator/Targets/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets
ContinueOnError="true"/>
</Target>
+ <Target Name="_GenerateFunctionsExtensionsMetadataPostPublish"
+ AfterTargets="Publish">
+ <GenerateFunctionsExtensionsMetadata
+ SourcePath="$(PublishDir)bin"
+ OutputPath="$(PublishDir)bin"/>
+ </Target>
+
<Target Name="_ResolveAdditionalReferenceCopyLocalPathsForFunctionsExtensions"
AfterTargets="ResolveReferences"
Condition="$(_IsFunctionsSdkBuild) != 'true'">

Fix metadata generator so that extensions.json is included when publishing