This is a .net core 3.1 webapi the following are commands I had to run when creating the project in VS Code
dotnet --version
dotnet --info
dotnet new globaljson --sdk-version 3.1.418 --force
dotnew new webapi
git config --global user.name "Mbulelo Damba"
git config --global user.email mabuda19@gmail.com