Logic App .NET 8 Custom Code Project - Failed to find the .NET host child process on launch
Summary
After installing vs code and la standard extension on a brand new install of windows 11 pro, I'm getting an error when launching a .net 8 custom code workspace project. The code and project run fine, so the error is not impacting functionality.
Error Info
Does this occur consistently?
Yes
Repro steps
- Installed VS Code and logic app standard extension on a fresh install of windows 11 pro.
- Follow these instructions to setup a hello world logic app using .NET 8 custom code.
- Run from visual studio code in debug mode
- When launching the debugger locally on my PC, I see an error in the terminal suggesting that the csproj does not exist. The specific entry in the log below is "[2025-08-09T22:10:56.144Z] Csproj not found in C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastLA directory tree. Skipping user se[2025-08-09T22:10:56.144Z] Csproj not found in C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastLA directory tree. Skipping user secrets file configuration."
- I also see a visual studio error appearing.
Error Info
Action: azureLogicAppsStandard.debugLogicApp Error type: Error Error Message: Failed to find the .NET host child process for the functions project for logic app "WeatherForecastLA".
Version: 5.130.10 OS: win32 OS Release: 10.0.26100 Product: Visual Studio Code Product Version: 1.103.0 Language: en
Call Stack
pickCustomCodeNetHostProcessInternal pickCustomCodeNetHostProcess.ts:117:11 debugLogicApp debugLogicApp.ts:39:42Terminal Logs
* Executing task in folder WeatherForecastFA: C:\Users\camer\.azurelogicapps\dependencies\DotNetSDK\dotnet.exe build C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastFA
Determining projects to restore...
All projects are up-to-date for restore.
WeatherForecastFA -> C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastFA\bin\Debug\net8\WeatherForecastFA.dll
Determining projects to restore...
Restored C:\Users\camer\AppData\Local\Temp\kmk1gstg.n2h\WorkerExtensions.csproj (in 256 ms).
WorkerExtensions -> C:\Users\camer\AppData\Local\Temp\kmk1gstg.n2h\buildout\Microsoft.Azure.Functions.Worker.Extensions.dll
WeatherForecastFA -> C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastFA\bin\Debug\net8\publish\
Determining projects to restore...
Restored C:\Users\camer\AppData\Local\Temp\43wcrdhv.y2x\WorkerExtensions.csproj (in 197 ms).
WorkerExtensions -> C:\Users\camer\AppData\Local\Temp\43wcrdhv.y2x\publishout\Microsoft.Azure.Functions.Worker.Extensions.dll
WorkerExtensions -> C:\Users\camer\AppData\Local\Temp\43wcrdhv.y2x\publishout\
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.89
* Terminal will be reused by tasks, press any key to close it.
* Executing task in folder WeatherForecastLA: C:\Users\camer\.azurelogicapps\dependencies\DotNetSDK\dotnet.exe C:\Users\camer\.azure-```
> functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows\1.131.9\bin\Microsoft.Azure.Workflows.BuildTasks.DebugSymbolGenerator.dll
>
> Generating debug symbols...
> Debug symbols generated.
> * Terminal will be reused by tasks, press any key to close it.
>
> * Executing task in folder WeatherForecastLA: C:\Users\camer\.azurelogicapps\dependencies\FuncCoreTools\func host start
>
> Azure Functions Core Tools
> Core Tools Version: 4.1.0+9a53409b640bbb39ef49467f000f46c5d81d4bbf (64-bit)
> Function Runtime Version: 4.40.100.25262
> Function Runtime Version: 4.40.100.25262
> **[2025-08-09T22:10:56.144Z] Csproj not found in C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastLA directory tree. Skipping user se[2025-08-09T22:10:56.144Z] Csproj not found in C:\source\ContosoLogicApp\MyLogicAppWorkspace\WeatherForecastLA directory tree. Skipping user secrets file configuration.**
> Functions:
> MyWorkflow: http://localhost:7071/api/MyWorkflow/triggers/When_a_HTTP_request_is_received/invoke
> crets file configuration.
> Functions:
> MyWorkflow: http://localhost:7071/api/MyWorkflow/triggers/When_a_HTTP_request_is_received/invoke
> Net8HealthCheck: workflowActionTrigger
> Net8HealthCheck: workflowActionTrigger
> WeatherForecastFA: workflowActionTrigger
> WorkflowDispatcher: edgeWorkflowRuntimeTrigger
> For detailed output, run func with --verbose flag.
> [2025-08-09T22:10:59.595Z] Worker process started and initialized.
> For detailed output, run func with --verbose flag.
> [2025-08-09T22:10:59.595Z] Worker process started and initialized.
> [2025-08-09T22:11:04.147Z] Host lock lease acquired by instance ID '0000000000000000000000009152264C'.
> [2025-08-09T22:11:04.147Z] Host lock lease acquired by instance ID '0000000000000000000000009152264C'.
> [2025-08-09T22:12:40.427Z] Executing 'Functions.MyWorkflow' (Reason='This function was programmatically called via the host APIs.', Id=431b3558-ceab-4507-94f4-9346cb17b06e)
> [2025-08-09T22:12:40.874Z] Executing 'Functions.WorkflowDispatcher' (Reason='(null)', Id=935b3890-6f0a-4849-8bf6-02701e53e047)
> [2025-08-09T22:12:40.899Z] Executing 'Functions.WeatherForecastFA' (Reason='(null)', Id=3c9155eb-813b-47d8-9d5d-e80de441d01e)
> [2025-08-09T22:12:41.117Z] Starting WeatherForecastFA with Zip Code: 85396 and Scale: Celsius
> [2025-08-09T22:12:41.129Z] Executed 'Functions.WeatherForecastFA' (Succeeded, Id=3c9155eb-813b-47d8-9d5d-e80de441d01e, Duration=228ms)
> [2025-08-09T22:12:41.142Z] Executed 'Functions.WorkflowDispatcher' (Succeeded, Id=935b3890-6f0a-4849-8bf6-02701e53e047, Duration=271ms)
> [2025-08-09T22:12:41.178Z] Executing 'Functions.WorkflowDispatcher' (Reason='(null)', Id=a48c6a31-bdfd-408a-9ed3-d6764c35e096)
> [2025-08-09T22:12:41.198Z] Executed 'Functions.WorkflowDispatcher' (Succeeded, Id=a48c6a31-bdfd-408a-9ed3-d6764c35e096, Duration=20ms)
> [2025-08-09T22:12:41.210Z] Executed 'Functions.MyWorkflow' (Succeeded, Id=431b3558-ceab-4507-94f4-9346cb17b06e, Duration=799ms)
Hi @cam96 thanks for raising this issue. I was able to repro it, we will take a look at what is happening here.
@ccastrotrejo this seems like the same bug addressed in this commit https://github.com/Azure/LogicAppsUX/commit/1d08664910cda2ed846c785881133354a7274d99 was this included in 5.130.10?
Hey @andrew-eldridge I just checked it and that change was cherry picked to the hotfix branch of v5.130 in the following PR - https://github.com/Azure/LogicAppsUX/pull/7799
Are you not able to repro it?
@ccastrotrejo got it, I can take a look at this one. Haven't attempted repro yet
@cam96 can you confirm whether the error is still occurring in the latest VS Code extension (5.185.10)?