Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
96 stars 62 forks source link

FunctionsInDependencies doesn't seem to work #554

Closed michaelpaulus closed 2 years ago

michaelpaulus commented 2 years ago

Here is a demo app, and the functions are not generated on build. I expect both Test1 and Test2 to work, but only Test2 output is generated

FunctionApp1.zip

michaelpaulus commented 2 years ago

I was able to fix the issue by adding an explicit reference to the test1 class in the app. Looks like it wasn't picking up the project reference unless it was actually referenced in code somehow.