Another one of those many many similar issues, yet none of the solutions searched for, helped (see below which one are looked at).
At the moment of writing this, .NE
Use Visual Studio 2019 instead of 2017 if you want work with asp.net core version more then v2.2.100 https://github.com/aspnet/AspNetCore.Docs/issues/11844