-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Azure.WebJobs.Host: Error indexing method #30
Comments
Startup.cs does not get triggered. |
Duplication of #23. |
Hi, Did you find a solution? I have the same problem with netcoreapp2.2 |
@crookedbard could you please siwtch your functions project to target netstandard2 instead of netcoreapp (which is the default). See #17 (comment) for more information. |
Updating the SDK to the latest version should make it work without switching |
Startup gets triggered only when targeting "netcoreapp3.0". Using latest Microsoft.NET.Sdk.Functions 3.02 and Microsoft.Azure.Function.Extensions 1.0.0. Followed this article https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection |
Microsoft.Azure.WebJobs.Host: Error indexing method 'ApiQueue.Run'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'dbService' to type IDbService. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.).
[01/18/2019 21:58:03] Function 'ApiQueue.Run' failed indexing and will be disabled.
The text was updated successfully, but these errors were encountered: