Compile a .NET Core application as an EXE file using Visual Studio 2017
Update 2019: .NET Core 3.0+ projects will now include an executable for the platform you build on by default. This is just a shim executable and your main logic is still inside a .dll file. But .NET Core 3.0 also introduced single-file deployments so deploying with dotnet publish -r win-x64 -p:PublishSingleFile=True –self-contained false will create … Read more