By removing the targetFramework option when creating an Azure Function using the extension, the context will be initialized with a null workerRuntime property which will then prompt the user to select which .NET runtime stack to use as the next step.
Abandoning this PR for now to approach the .NET runtime selection at a later time as @motm32 suggested. I will raise a new PR to default the .NET runtimes to 8.0
Resolves GitHub issue: GitHub https://github.com/microsoft/vscode-azurestaticwebapps/issues/761
By removing the
targetFramework
option when creating an Azure Function using the extension, the context will be initialized with anull
workerRuntime property which will then prompt the user to select which .NET runtime stack to use as the next step.