Azure / Azure/azure-functions-tooling-feed
Azure Functions Core Tools requires your project to reference version 4.5.0 or later of Microsoft.NET.Sdk.Functions
- Dominant language
- C#
- Stars
- 29
- Forks
- 35
- Avg merge
- 52m
- Merged PRs (30d)
- 2
Description
Hi everyone,
My team has been having trouble debugging an Azure Function for at least a week. I’ll try to describe our case.
We’re still using .NET 6, and we have a function that references version 4.1.1 of Microsoft.NET.Sdk.Functions, which I used to debug with Rider. In the last few days, when I try to debug, this message appears:

I tried upgrading the package in my function project as suggested, but the same message continues to appear. So, I upgraded Rider and Azure Toolkit for Rider. I dealt with the problems described in this issue: JetBrains Azure Tools Issue #944, and I overcame them.
Now, I’m using Rider version 2024.2.7 and Azure Toolkit for Rider 4.2.3. This is the Azure Function Core Tools version installed from the Azure Toolkit:

This is the nuget packages section in .csproj of my function:

I tried many times cleaning my project or manually removing the bin folder. The problem continues; it seems like Azure Function Core Tools doesn’t recognize that the package was upgraded in the project.
Finally, I tried to create a new function project from Rider with a dummy function trigger, and in this case, the function starts:

This is the .csproj of the dummy project:

Do you have any idea where the problem could be?
Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the affected function project's .csproj and package references with the working dummy project's .csproj. Reproduce the message using Rider 2024.2.7, Azure Toolkit for Rider 4.2.3, and the installed Azure Functions Core Tools, then determine why the upgraded Microsoft.NET.Sdk.Functions reference is not recognized. Done means the original project starts successfully with the required package version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- cloud, tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100