Azure Function is reverting to .NET 6 after attempting to upgrade to .NET 8

Jonathan M 0 Reputation points
2024-09-17T16:20:31.3033333+00:00

We have upgraded our function from .Net 6 to .Net 8 as well as set the below in the app. We even went as far as to update the FUNCTIONS_EXTENSION_VERSION to ~4. Yet after successful deployment the application reverts back to .Net 6

<TargetFramework>net8.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,974 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.