Skip to content
Skip to content
Menu
A cup of dev
  • Home
  • About
  • Ink and yarn
  • Contact
A cup of dev

How to solve the ‘Could not find the task func: host start’ error in VS Code when working with Azure functions

By Eli H. Schei on Thursday, 24 November 2022, 11:54Thursday, 24 November 2022, 11:54

Every once in a while when I try to start my Azure function locally from VS code I get the error “Could not find the task func: host start”. The first time I got this error I probably spent at least half a day trying different solutions before I got it to work again. But the last two times I’ve used the same simple solution so I thought I might as well share it and maybe save someone else some time.

The solution

Uninstall the Azure Function VS code extension, and the re-install it.

Yes, thats it. Sceptical? I was too, but I was also desperate to get it to work so I decided to try and this has helped me multiple times now.

If you have experienced the same error but with a different solution let me know in the comments below so I can update the blogpost to include different solutions.


Did you find this article usefull? Follow me on twitter to be notified when I publish something new!

If you are interested in Microsoft 365 Development you might also like my other blogposts in this category.

Also, if you have any feedback or questions, please let me know in the comments below. 🙂

Thank you for reading, and happy coding!

/Eli

Share this:

  • Twitter
  • Facebook

Post navigation

Use your coding skills to extend Microsoft Teams
My top 5 most read blogposts in 2022

Leave a Reply Cancel reply

Eli H. Schei

I'm a front-end developer who mainly work in the Microsoft 365-sphere. As a developer I read a lot of blogs. And in my experience I can read multiple different blogposts about exactly the same topic, and only one of them makes sense to me. Therefore I’m adding my voice to the mix, and hopefully one of my blogposts will be the one that makes sense of a topic for you. You can learn more about me here.

Recent Posts

  • 5 tips for nailing your first Microsoft certification exam
  • My top 5 most read blogposts in 2022
  • How to solve the ‘Could not find the task func: host start’ error in VS Code when working with Azure functions
  • Use your coding skills to extend Microsoft Teams
  • How to enable source-map in PCF projects – for easier debugging

Categories

  • Azure
    • Azure functions
  • Level
    • Beginner
    • Intermediate
  • Microsoft 365 Development
    • Microsoft Authentication Library
    • Microsoft Graph
    • Microsoft Teams
    • PNP powershell
    • PowerApps
      • PowerApps Component Framework
    • SharePoint Framework
    • SharePoint Online
  • Web development
    • Accessibility
    • Soft skills
    • Tips and tricks

Tags

accessibility ARIA Azure CLI azure functions Content creation custom themes favorites git github M365 CLI M365 development PCF PnP powershell power apps PowerApps Component Framework quicktip react resources SharePoint Online Sideloading SPfx Teams tools wcag Windows terminal
©2023 A cup of dev | WordPress Theme by SuperbThemes.com