How to create .NET 4.8 Function App

Andrew Syrov 51 Reputation points
2021-10-13T18:56:07.463+00:00

Can anyone point me to a reference on creating a function app that uses .NET 4.8? My understanding is that for this I need function tools version ~1. I installed them with but cannot generate C# project. Installation was done with choco: choco install azure-functions-core-tools --version =1.0.0.15.

Now, when I try to create a C# function I'm only able to generate *.csx but not a C# project. Can I somehow create C# project, which is a function app and yet uses .NET 4.8?

Thanks!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,333 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,210 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AgaveJoe 29,281 Reputation points
    2021-10-13T20:55:54.147+00:00

    Visual Studio has an Azure Function project. The steps are covered in the docs, see the link below. Step 4 in the doc is where you can define the .NET Framework rather than Core.

    Develop Azure Functions using Visual Studio

    0 comments No comments

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.