I created a new ASP.NET Core Web API project using dotnet
cmd, but it didn't create the default launchSettings.json
file.
I tried adding the file manually but it still doesn't pick environment variables and command like dotnet watch run
also don't work, is there some way to do it automatically using command line?
I used this comand: dotnet new webapi -o projectname -n projectname
my dotnet core version is 2.1
here's the screenshot of my created project structure:
Can someone please help me with this?
Install the .NET Core 2.2 SDKs.