I'm developing an introduction to programming material using .NET Core. I have read the documentation on creating and running web projects, but I have found nothing that addresses how to create a project from a console application and generate a .EXE
from it.
I figured that with namespace ConsoleApplication
the code would generate an executable, but in fact it creates a .DLL
that can be executed with dotnet programa.dll
.
What should I do to make the project create an executable?