Bug Report Checklist
Description
aspnetcore and csharp-function generators support multiple versions of .NET that are no longer supported. Only .NET 8 and above are still supported. Can we remove support for older versions?
Suggest a fix
I am open to creating a PR.