Recently when trying Logic App Standard, after updating everything to the latest versions I was getting the below errors. Looking around a bit there was a few possible causes but the cause of the error for me was a bit different so just documenting it here.

The 2 error messages I was getting are below:

Error exists after running preLaunchTask "func: host start". View task output for more information.

Failed to find "func: host start" task.

Cause

The cause was that my machine didnt have .net 9 installed on it. When installing from the below link then trying again it worked.

https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=9.0.0&arch=x64&rid=win-x64&os=win10

Troubleshooting

Id played around a bit with the tasks.json file thinking the problem was there when running F5 but hadnt notices there was an error in the terminal

 

Buy Me A Coffee