-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add support for Azure Functions #245
Comments
Sorry, but this is not a bug but a feature request. The Azure Function project is not a regular dotnet project. It needs to be run using Azure Function Core Tools. This is not yet supported by the plugin. |
Oh, apologies. I assumed the target was to work like in Visual Studio. I will rephrase my post. |
Hello there. |
Hello! Unfortunately, this is in our plans, but not soon. First, I plan to add support for more popular scenarios (running Functions in Docker container and with Docker Compose) and then implement this one. |
Not sure if this is already covered by questions above, but now with the preview of Aspire support for Azure Functions. Is this something that can be looked into? Running with dotnet CLI works fine, but starting up in Rider the Aspire dashboard says the function is running but it is not and has no processId connected. Related issue on YouTrack: https://youtrack.jetbrains.com/issue/RIDER-118806/Add-support-for-Azure-Functions-in-Aspire-Host-via-Aspire-Plugin Example appHost code: var functions = builder.AddAzureFunctionsProject<Projects.functionProject>("functions")
.WithExternalHttpEndpoints(); |
Originally a bug report, however I was made aware this was a feature request. The requested feature is as follows: add support for Azure Function Core Tools to run our Function projects with Aspire in Rider.
Original post:
Describe the bug
When using Rider to start Azure Functions, they are not run with the correct Azure Function Core Tools but with the .net runtime itself.
To Reproduce
Steps to reproduce the behavior:
builder.AddProject<Company_FunctionApp1>("fn");
to your AppHost Program.csExpected behavior
I expect the Azure Function to start normally. It does so in Visual Studio.
Screenshots
The following exception is thrown and the Function does not start.
System information:
The text was updated successfully, but these errors were encountered: