Unable start the function app project in the debugger

Robi Indra Das 30 Reputation points
2024-01-28T02:59:33.2466667+00:00

Attempting exercise at https://learn.microsoft.com/en-us/training/modules/develop-azure-functions/5-create-function-visual-studio-code Under run the function locally, Step 2 says: Press F5 to start the function app project in the debugger. When I press F5, after it builds, it shows the error [2024-01-28T02:31:28.015Z] A host error has occurred during startup operation '49001b8d-a2aa-45b0-8b2f-6f533b2586fb'. [2024-01-28T02:31:28.037Z] Microsoft.Azure.WebJobs.Extensions.Http: Could not load file or assembly 'System.Net.Http.Formatting, Version=5.2.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified. Value cannot be null. (Parameter 'provider')[2024-01-28T02:31:29.272Z] A host error has occurred during startup operation '9f9e2d03-ac6f-4757-94c7-0322d350cff0'.

Azure Azure Training
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.