I have a .NET Core
Target framework = .NET Core 2.1
Output type = Console Application
When I compile it I get a dll instead of a exe. I read a post on this forum that you should add <RuntimeIdentifiers> which I did (see below) but I still get a dll. Is .NET Core not meant for console applications or why does that not work? Also why do I need to define OSs and bitness? I though .NET anything produces bytecode which then on first execution is translated to machine code.