Azure Function in library

I've created an Azure Function project in S2017 and added two function classes Func1 & Func2... when I run this it pickup both functions.... Now I've tried moving Func2 into a class library and reference it from the first project... but now func2 is not picked up.... I've tried to move func2 to another Azure Function project and then reference this from the first project.. but again Func2 is not picked up

Is it not possible to reference function in an assembly making them part of my function app??

1 answer

  • answered 2018-05-16 06:03 Junaid

    You seem to need class library rather than functions. Functions are meant to run independent based on triggers such as http, queues, etc. Have a look into durable function if you want to chain functions.