I am currently working on a console app in .Net Core 3.1 and it works fine when running in Visual Studio.
Run in Visual Studio