From https://github.com/dotnet/aspnetcore/issues/64978 We'll need to apply the same fix to our templates.