-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Description
I have an issue when trying to run the Azure Functions Core Tools on Azure DevOps. It seems to be unable to start. I have a fairly basic YAML file for a pipeline to recreate.
pool:
vmImage: "windows-latest"
jobs:
- job: dotnet10
steps:
- script: |
dotnet --list-sdks
dotnet --list-runtimes
displayName: 'List .NET stuff'
- task: FuncToolsInstaller@0
displayName: "Install Azure Functions Core Tools"
- script: |
func init MyFunctionProj10 --worker-runtime dotnet-isolated --target-framework net10.0
cd MyFunctionProj10
func new --template "Http Trigger" --name MyHttpTrigger
func start --verbose
displayName: 'Function Project .NET 10'
timeoutInMinutes: 5The logs for the script task when calling the Azure Functions Core Tools can be found in 8.txt.
I didn't seem to have the same issue when I changed the target framework to net9.0 or net8.0. I also didn't have any issues when running the same commands targetting net10.0 locally on my PC.
I'm also wary that there might be something not right with the Azure DevOps FuncToolsInstaller@0 task or the Microsoft-hosted agent based on it trying to look for x86 but I thought I would start here to begin with.
Any help would be appreciated. Thanks!
Metadata
Metadata
Assignees
Labels
No labels