Sam
Sam

Reputation: 30388

Creating Azure Functions Targeting .NET 7

I don’t see .NET 7 Isolated as an option when I try to create a new Azure Functions app in Visual Studio 17.4 (Windows version).

Any idea why?

Upvotes: 8

Views: 6120

Answers (1)

Krusty
Krusty

Reputation: 1173

To use the Isolated model, you shall set your environment variable FUNCTIONS_WORKER_RUNTIME to dotnet-isolated and use these NuGet packages:

  • Microsoft.Azure.Functions.Worker
  • Microsoft.Azure.Functions.Worker.Sdk

More info here and especially here, where you can find lot of samples (with .NET7 too!)

Upvotes: 9

Related Questions