You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a new Aspire solution
Create a new Azure Functions project
Reference the Azure Functions in your AppHost
Add builder.AddProject<Company_FunctionApp1>("fn"); to your AppHost Program.cs
Run AppHost
Expected 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:
OS: Windows 11
.NET version: 8.0
JetBrains Rider version: 2024.2.3
Aspire plugin version: bundled 1.3.0
Aspire workload version: 8.2.0
The text was updated successfully, but these errors were encountered:
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.
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.
lars-houtman
changed the title
Azure functions not working
Add support for Azure Functions
Sep 16, 2024
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: