Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Created June 21, 2018 00:10
Show Gist options
  • Save gabrieljoelc/84afbe7b002bc512e9c7716bf345a6b8 to your computer and use it in GitHub Desktop.
Save gabrieljoelc/84afbe7b002bc512e9c7716bf345a6b8 to your computer and use it in GitHub Desktop.
Use different port for Azure Function running in VS 2017

https://stackoverflow.com/a/44977350/34315

For .NET Framework:

host start --pause-on-error

Fails to start with an error that I can't see because the terminal window disappears to fast.

For .NET Core:

%AppData%\..\Local\Azure.Functions.V2.Cli\2.0.1-beta\Azure.Functions.Cli.dll host start --pause-on-error

Getting error:

Microsoft.Azure.WebJobs.EventHubs: Could not load type 'Microsoft.Azure.WebJobs.FuncAsyncConverter' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment