Azure / Azure-Functions

1.11k stars 198 forks source link

.NET 6 doesn't show up with other versions in new Azure Function experience in VS Code #2073

Open nzthiago opened 3 years ago

nzthiago commented 3 years ago

Function App name: N/A Tools used: VS Code, Azure Functions Extension, Azure Functions Core Tools New V4 app or existing V3 app migrated to V4: N/A

Once I installed the Core Tools v4, I restarted VS Code and tried creating a new C# Azure Function. But in the drop down to choose the .NET version it still only showed the .NET Core 3 and .NET 5 options: image

I had to go into Preferences and change the Default Functions Version to V4 before .NET 6 showed up: image

If this is the expected behavior, it should likely be documented, especially in the VS Code First Function tutorial https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-csharp?pivots=programming-runtime-functions-v4

anthonychu commented 3 years ago

Resolved by https://github.com/microsoft/vscode-azurefunctions/pull/2987

anirudhgarg commented 3 years ago

@nzthiago please work with @anthonychu to verify once this is fixed