Azure / Azure/LogicAppsUX

Logic App .NET 8 Custom Code Project - Failed to find the .NET host child process on launch

Open
#8,034 5 comments 0 reactions 1 assignee Claimed by @andrew-eldridge View on GitHub
VSCode
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

# 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
1. Installed VS Code and logic app standard extension on a fresh install of windows 11 pro.
2. Follow [these instructions](https://learn.microsoft.com/en-us/azure/logic-apps/create-run-custom-code-functions) to setup a hello world logic app using .NET 8 custom code.
3. Run from visual studio code in debug mode
4. 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."
5. I also see a visual studio error appearing.

Image

## 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:42

# Terminal 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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.