With previous versions of Azure Functions, I used to be able to use this line in Properties -> Debug -> Application Arguments
host start --port 7073 --pause-on-error
However, in Azure Functions V3, running .NET 5, it doesn't work.
I get the following message when I try to run it.
Could not execute because the specified command or file was not found. Possible reasons for this include:
- You misspelled a built-in dotnet command.
- You intended to execute a .NET program, but dotnet-host does not exist.
- You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Do I need to use a different command for .NET 5? Or put it in a completely different place?