Questions tagged [azure-functions-runtime]
424 questions
44
votes
22 answers
No job functions found. Try making your job classes and methods public
First off, I have looked at the other SO posts with the same error message and none seem to resolve my issue. I have tried many permutations and options. My function builds fine but will not run in the CLI, I get the following cryptic error. The…

Murray Foxcroft
- 12,785
- 7
- 58
- 86
32
votes
6 answers
Azure Functions binding redirect
Is it possible to include a web.config or app.config file in the azure functions folder structure to allow assembly binding redirects?

Martin Smyllie
- 371
- 1
- 3
- 4
31
votes
11 answers
Azure Function fails to bind ILogger
My function is referencing an assembly that references Microsoft.Extensions.Logging.Abstractions 2.0.0. If I add a nuget reference to that version to the function's assembly, function execution fails with:
[1/25/2018 11:14:46 PM]…

RA.
- 1,405
- 1
- 11
- 18
19
votes
3 answers
ExecutionContext in Azure Function IWebJobsStartup implementation
How to get access to the ExecutionContext.FunctionAppDirectory in Functions Startup class so I can setup my Configuration correct. Please see the following Startup code:
[assembly: WebJobsStartup(typeof(FuncStartup))]
namespace Function.Test
{
…

Soma Yarlagadda
- 2,875
- 3
- 15
- 37
19
votes
2 answers
Azure Function gives error: System.Drawing is not supported on this platform
(If this question is poorly worded, could someone please help me clear it up?)
I have an Azure Function (2.0) which relies on some System.Drawing code. I've added a NuGet reference to System.Drawing.Common (4.5.0).
After publishing the app,…

vargonian
- 3,064
- 3
- 27
- 36
17
votes
3 answers
Azure Functions Portal error - The function runtime is unable to start
I have a VS 2017 C# developed Azure Function App deployed on the consumption plan using the VS 2017 Publish mechanism. All functions are timer or Service Bus triggered. I see a status of running in the Azure Portal and the functions appear to be…

Chris W
- 231
- 3
- 6
17
votes
5 answers
Unable to debug and publish Azure Function from Visual Studio 2017
I used to debug and publish my Azure Function Project using Visual Studio 2017.
However suddenly everything stopped working.
When i tried to debug the project i got the error "A project with an Output Type of Class Library cannot be started…

Markus S.
- 2,602
- 13
- 44
14
votes
4 answers
Azure function: Could not load file or assembly Microsoft.IdentityModel.Tokens, Version=5.2.1.0
Im writing an azure function to generate a JWT token and return it to the client. The code is tested locally in a console app and all seems to work fine. This is the package reference included in the working console app, and in my functions…

Craigt
- 3,418
- 6
- 40
- 56
13
votes
3 answers
How to migrate Azure Functions v3 to .net core 5.0
I have upgraded all assemblies in an Azure Function v3 project to version 5.0 but I am unable to run the function. Here it is my function's csproj file's partial definition:
netcoreapp3.1
…

Arash
- 3,628
- 5
- 46
- 70
13
votes
1 answer
Azure functions are slow
I’m testing the CPU performance of functions, so I made a function that finds the prime numbers in a number. It is triggered by Azure Service Bus.
On my local machine it runs in 350ms.
The function, when running in a consumption plan, takes around…

acidduck
- 177
- 1
- 7
12
votes
1 answer
Is ConfigureAwait(false) needed/beneficial when awaiting async calls in Azure Functions
It is generally recommended to use ConfigureAwait(false) when awaiting async calls when context is not required. Just wondering is there any benefit of using ConfigureAwait(false) in Azure Functions.
Do Azure Function threads have non-null…

Dogu Arslan
- 3,292
- 24
- 43
11
votes
2 answers
Azure function is getting executed in local even RunOnStartup = false
As per my understanding Azure function will execute
In case RunOnStartup = true
1. on startup
2. if a host changed
3. a new deployment happen
4. on schedule time
And, In case RunOnStartup = false or not define
1. on schedule time…

Sombir Kumar
- 1,841
- 1
- 17
- 30
11
votes
3 answers
Deleting Azure Function Published by Visual Studio
I have published an Azure Function through visual studio. Now I want to delete the published Azure function and the button to delete is disabled. Is there a way to delete the azure function published from VS?

Shiju Samuel
- 1,373
- 6
- 22
- 45
10
votes
2 answers
Inexplicable storage transactions from Azure Functions
I have a project with a couple of .NET Core based Azure Functions running on a schedule. One of them runs once every 10 minutes and serves to update view counts similar to how SO tracks question views and the other sends emails once a week. These…

Stilgar
- 22,354
- 14
- 64
- 101
10
votes
5 answers
Error in Azure Function App VS 2019 .NET 3.0 - Method not found: 'IFunctionsHostBuilder.get_Services()'
Issue with Azure Functions/EFSQLSERVER .NET CORE 3.0:
To reproduce:
Use Visual Studio 2019 16.2.1
Use Azure Function template to create a project.
Changed Target Framework to .NET Core 3.0
Add Microsoft.EntityFrameworkCore.SqlServer" …

Athadu
- 854
- 7
- 13