For some reason the func cli created .csproj and the .csproj we create don't have the same versions so we need to initialize the project for vscode after calling the func cli command instead of the other way around. This is only the case for .NET projects. We also are skipping the overwrite confirm as we always want the files to be overwritten in this case.
.NET 6.0 LTS also need to use the dotnet --worker-runtime instead of dotnet-isolated.
For some reason the func cli created .csproj and the .csproj we create don't have the same versions so we need to initialize the project for vscode after calling the func cli command instead of the other way around. This is only the case for .NET projects. We also are skipping the overwrite confirm as we always want the files to be overwritten in this case.
.NET 6.0 LTS also need to use the dotnet --worker-runtime instead of dotnet-isolated.