microsoft / vscode-azurestaticwebapps

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

Allow creating .NET 7.0 Functions #759

Closed alexweininger closed 1 year ago

alexweininger commented 1 year ago

This will allow users to create .NET 7.0 Functions. However, if they have .NET 6.0 and .NET 7.0 installed locally, then we will still default to .NET 6.0.

Fixes #758

nturinski commented 1 year ago

This will allow users to create .NET 7.0 Functions. However, if they have .NET 6.0 and .NET 7.0 installed locally, then we will still default to .NET 6.0.

Fixes #758

Does this mean the user never gets prompted for which .NET they want to use? And we'll only use .NET 7 if they have it installed?

If that's the case, I think we would want to change this behavior. I believe the Func CLI lets you create .NET 7 triggers with a .NET 6 runtime.

alexweininger commented 1 year ago

Does this mean the user never gets prompted for which .NET they want to use? And we'll only use .NET 7 if they have it installed?

Yes.

If that's the case, I think we would want to change this behavior. I believe the Func CLI lets you create .NET 7 triggers with a .NET 6 runtime.

I agree, but wanted to at least enable it for now. Letting users pick will be a larger change (and need to happen in Functions). I will create a new issue for that.

https://github.com/microsoft/vscode-azurestaticwebapps/issues/761