After running for the first time in the folder the 'dotnet new console'
the template gets created successfully and so does the restore.
Running the 'dotnet run' command outputs "Hello World!",
After clicking on the Program.cs file and opening it for the first time I get 2 messages:

Thanks in advance!
Copied over from: https://developercommunity.visualstudio.com/content/problem/1002666/net-c-on-visual-code-macos.html
This one doesn't reproduce for me on my mac. Tagging as needs more info to see if we can get some diagnostic data.
I ran into this as well. Do you have mono installed? I needed mono for a buildstep in monogame but Omnisharp looks for mono and points to it if it sees a global mono version. Check your settings for omnisharp cmd + , if this is the case for you (unless you need omnisharp to point to mono instead of dotnet) and change the setting in regards to mono for your needs.
I am also new to the C# ecosystem so my solution might not apply to your situation.
What's funny to me is that it specifies netcoreapp3.1 in the csproject
<TargetFramework>netcoreapp3.1</TargetFramework>
Yet omnisharp still was pointing to mono because it found it. Is this expected behavior?
@selfup The Omnisharp language server that powers the C# extension runs on Mono so that it can support full framework projects as well as .net core projects. So this is expected and normal. What can sometime be a problem is installations of Mono or .NET Core SDK that do not use the official installers.
To better diagnose problems with project loading, we need the full output of the Omnisharp Log from the VS Code Output pane. If you are running into trouble, I would be happy to take a look.
Interesting that makes sense. I installed mono via brew so I will undo that and use the official installer and see if that fixes it!
@JoeRobich
That seems to have worked for me. Set the omnisharp mono setting to auto after installing mono from the official mono website and added mono to my PATH
export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:${PATH}
Hopefully this can help others that ran into this issue with mono via brew.
I hope it's this simple for @vatsalyaagrawal (assuming it is a mono issue as well..)
Yes, this appears to be a mono issue. Since there weren't any more diagnostic logs shared, I'll close this out.