Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 715 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 715 Bytes

README

This is a simple example for creating a single-file executable console application for .NET Core. Normally, when publishing a self-contained console application with .NET Core, all the dependencies will also be included in the output folder. This is painful to distribute since it's not a single file. Currently (Aug 2018), publishing to a single-file executable is not available in the dotnet CLI. However, via this initial example combined with the fact that ILCompiler is now available as a NuGet package, I was able to create a simple Hello World example.

Enjoy!