Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 442 forks source link

Fix and refactor generator for p2p ref and tools #10648

Open jviau opened 22 hours ago

jviau commented 22 hours ago

Issue describing the changes in this PR

resolves #10651

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

Additional information

Ever since moving to common artifact outputs, ExtensionsMetadataGenerator has been incorrectly packing itself due to hardcoding the output path format. This PR addresses that and performs further refactoring.

  1. Assembly inclusion in the package is now done by calling into an inner-build target from the outer-build to collect all files for that TFM
  2. ExtensionsMetadataGenerator.Console is now referenced via a ProjectReference, correctly establishing restore & build ordering.