Is there an existing issue for this?
Describe the bug
During 1.17.0 release verification, an Azure Functions resource consistently failed after the Aspire extension called the real Azure Functions extension API.
The AppHost starts, the Functions project builds, and the Aspire extension gets Azure Functions API 1.10.0 from ms-azuretools.vscode-azurefunctions 1.22.0. startFuncProcess then creates a task named func: host start with this definition type:
func <workspace>/AspireE2E.Functions/bin/Debug/net8.0
VS Code rejects it as an unregistered task type. The task ends immediately, the Functions host never starts, and the Aspire extension eventually reports that it could not detect the host.
The exact task-provider error was previously reported in a comment on #16997. That issue was closed after the path was expected to be fixed with 13.4, so this looks like a 13.5 regression. #18674/#18676 cover the separate func host start versus func run mismatch.
Expected Behavior
The Azure Functions resource should start through the installed Azure Functions extension, and the generated task type should have a registered provider.
Steps To Reproduce
-
Install the Aspire VS Code extension, C# extension, and Azure Functions extension.
-
Create an AppHost containing:
var builder = DistributedApplication.CreateBuilder(args);
builder.AddAzureFunctionsProject("functions", "../Functions/Functions.csproj");
builder.Build().Run();
-
Run the AppHost without debugging from VS Code.
-
Open the Tasks output.
Exceptions (if any)
Error: there is no registered task type
'func <workspace>/AspireE2E.Functions/bin/Debug/net8.0'.
Did you miss installing an extension that provides a corresponding task provider?
The Aspire extension then reports:
Azure Functions extension failed to start func host:
Failed to detect running Functions host within "30" seconds.
Aspire doctor output
Release-shaped inputs:
- Aspire VS Code extension 1.17.0, commit
c66c0f80e4748e07d079e68c74dd3abf3d27a604
- Aspire CLI/AppHost 13.5.0, commit
1d922813c0f9bc14f7d817c817a8ab46b288bb44
- C# 2.148.23,
darwin-arm64
- Azure Functions 1.22.0
- VS Code 1.130.0 control on macOS arm64
Anything else?
The run used a fresh hermetic NuGet cache and a locally built release hive with 103 unique Aspire package IDs, all exactly version 13.5.0. The platform-correct C# extension activated successfully, and a direct CLI control with the same package hive launched the AppHost.
ExTester cannot use the Microsoft .NET debugger in its downloaded VS Code build, so the automated control suppressed only AppHost IDE delegation. The real azure-functions capability, Azure Functions API, startFuncProcess call, generated task, CLI, hosting packages, and Functions project were unchanged.

Is there an existing issue for this?
Describe the bug
During 1.17.0 release verification, an Azure Functions resource consistently failed after the Aspire extension called the real Azure Functions extension API.
The AppHost starts, the Functions project builds, and the Aspire extension gets Azure Functions API 1.10.0 from
ms-azuretools.vscode-azurefunctions1.22.0.startFuncProcessthen creates a task namedfunc: host startwith this definition type:VS Code rejects it as an unregistered task type. The task ends immediately, the Functions host never starts, and the Aspire extension eventually reports that it could not detect the host.
The exact task-provider error was previously reported in a comment on #16997. That issue was closed after the path was expected to be fixed with 13.4, so this looks like a 13.5 regression. #18674/#18676 cover the separate
func host startversusfunc runmismatch.Expected Behavior
The Azure Functions resource should start through the installed Azure Functions extension, and the generated task type should have a registered provider.
Steps To Reproduce
Install the Aspire VS Code extension, C# extension, and Azure Functions extension.
Create an AppHost containing:
Run the AppHost without debugging from VS Code.
Open the Tasks output.
Exceptions (if any)
The Aspire extension then reports:
Aspire doctor output
Release-shaped inputs:
c66c0f80e4748e07d079e68c74dd3abf3d27a6041d922813c0f9bc14f7d817c817a8ab46b288bb44darwin-arm64Anything else?
The run used a fresh hermetic NuGet cache and a locally built release hive with 103 unique Aspire package IDs, all exactly version 13.5.0. The platform-correct C# extension activated successfully, and a direct CLI control with the same package hive launched the AppHost.
ExTester cannot use the Microsoft .NET debugger in its downloaded VS Code build, so the automated control suppressed only AppHost IDE delegation. The real
azure-functionscapability, Azure Functions API,startFuncProcesscall, generated task, CLI, hosting packages, and Functions project were unchanged.