microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
92 stars 35 forks source link

Support .NET 6 Azure Functions #590

Closed anthonychu closed 2 years ago

anthonychu commented 2 years ago

Static Web Apps now supports .NET 6 functions (in-process and isolated). Currently, when using Azure Functions Core Tools V4, we get this error: https://github.com/microsoft/vscode-azurefunctions/issues/3002

alexweininger commented 2 years ago

Problem is that we are defaulting to netcoreapp3.1 here. We started defaulting to 3.1 in https://github.com/microsoft/vscode-azurestaticwebapps/issues/323 because we wanted to prevent .NET 5 apps from being created.

Assuming we still don't want users creating .NET 5 function apps, we'll need to stop defaulting to 3.1 and allow both 3.1 and .NET 6.

alexweininger commented 2 years ago

Fix has been released in version 0.10.0