SDK issue: dotnet/templating#3041 Commit to undo: https://github.com/dotnet/aspnetcore/pull/31748/commits/360f7054a59317bc5d9f00761a95e9aef838ed1c (a small part of #31748)