[Azure Functions]change the runtime version .net core3.1 to .net6

Fuku-6858 62 Reputation points
2022-08-02T23:33:36.63+00:00

Hello

I want to change the runtime version to .net6 in Azure Functions.
This function is developed in C# script.

I changed the runtime version from ~3 to ~4 referring to the following page.

  • Change "FUNCTIONS_EXTENSION_VERSION" to "~4" in the application settings.

set-runtime-version

After that, when you check "function runtime settings", the following alert is displayed.

  • Pre is pinned to an unsupported runtime version of 'dotnet'. Instead, we recommend using one of the supported versions for better performance: ~3.

227380-image.png

How can the above alert disappear? Or is there no problem even if it is displayed?

Thank you.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,029 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mike Urnun 9,811 Reputation points Microsoft Employee
    2022-08-03T18:12:07.29+00:00

    Hello @Fuku-6858 - Welcome & thanks for posting on MS Q&A! Could you try setting the right value for the .netFrameworkVersion as described in the answer of the following post?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.