You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will need to add a condition that checks the FunctionsEnableWorkerIndexing MSBuild property to the 4 GenerateFunctionMetadata tasks in our MSBuild targets file (example here).
However, this is complicated by the fact that this task also contains the generation of the WorkerExtensions.csproj file (see line here). We'll have to separate out these tasks first then add the conditional checks.
Changes pending internal discussion/design in case these generation tasks were coupled together for a specific reason.
Currently the build task is creating an file with empty array as content.
This may have been a temporary bug you witnessed. Today the functions.metadata is fully populated even when source gen is enabled.
What is the value in skipping this generation? It will not impact runtime at all. The only 'value' I see is saving a bit of time during build. On the flip side, functions.metadata is a convenient file for customers to look at to see how their triggers are being processed. Is it worth skipping that generation?
When source generated version of function metadata provider is enabled, we do not need to create the
functions.metadata
file.Currently the build task is creating an file with empty array as content.
The text was updated successfully, but these errors were encountered: