Skip to content

Example for creating a single-file native executable console application for .NET Core

License

Notifications You must be signed in to change notification settings

robertmiles3/CoreSingleFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Example for creating a single-file native executable console application for .NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published