thanks for you post and help me for your code:
An error occurred while starting the application.
AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'input'))
System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions)
ArgumentNullException: Value cannot be null. (Parameter 'input')
System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg)
AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'input'))
System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions)
System.Threading.Tasks.Task.Wait(int millisecondsTimeout, CancellationToken cancellationToken)
System.Threading.Tasks.Task.Wait()
Program.
$(string[] args) in Program.cs
+
app.UseOcelot().Wait();