Azure / Azure/azure-functions-core-tools
Your Azure Function App has 'FUNCTIONS_WORKER_RUNTIME' set to 'dotnetIsolated' while your local project is set to 'dotnet'.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
Hi I'm having trouble with azure function version ~4, with dotnetisolated.
Im using gitlab pipeline with script:
```
image: mcr.microsoft.com/dotnet/sdk:6.0
.install_dependencies: &install_dependencies
- curl -sL https://aka.ms/InstallAzureCLIDeb | bash
- apt-get install curl && curl -sL https://deb.nodesource.com/setup_12.x | bash -
- apt-get install nodejs
- npm install -g azure-functions-core-tools@4 --unsafe-perm true
deploy dev:
stage: deploy
script:
- *project_dir
- *install_dependencies
- az login --service-principal -u $AZURE_CLIENT_ID -p $AZURE_CLIENT_SECRET --tenant $AZURE_TENANT_ID
- func azure functionapp publish $AZURE_FUNCTION_NAME --csharp
```
my function app configs:

I tried solution from here: https://github.com/Azure/azure-functions-core-tools/issues/2524
But it doesn't work for me, I also tried running commands from the output directory, and if local.settings.json is present there:

any ideas?
Contributor guide
Research direction
Start with the GitLab deploy script and the `func azure functionapp publish ... --csharp` entry point, then compare the Azure Function App configuration with the local project settings and the output-directory behavior described in the issue. Done means the runtime settings are consistent and the deployment completes successfully with Azure Functions Core Tools v4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, gitlab, node.js
- Domain
- cli, cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100