No job functions found

The following error warning gets me every time I am working with Azure Functions in Visual Studio Code when I run func start:

No job functions found. Try making your job classes and methods public. If you’re using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you’ve called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.).

Figure 1 – Visual Studio Code Output

I am developing my Azure Functions as a C# class library project (.csproj), which means, I must include the –build option to generate the library .dll. So when I run func start –build, my world is again filled with rainbows and unicorns.

Figure 2 – Visual Studio Code Output With Unicorn

Recommended resources

Leave a Reply

Your email address will not be published.