error: Azure.Messaging.EventHubs: The path to an Event Hub may be specified as part of the connection string or as a separate value, but not both
At first I upgraded the package "Microsoft.Azure.Functions.Worker.Extensions.EventHubs" from version 4.3.0 to 5.1.0. and I upgraded from the deprecated Microsoft.Azure.EventHubs package to Azure.Messaging.EventHubs. Then I run the C# function that return the error: 'Azure.Messaging.EventHubs: The path to an Event Hub may…