Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

selfcontained-dotnet-cli-app

Experiments with self-contained .NET CLI apps

Publishing as self contained single file without optimizations

dotnet publish --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true

Environment

Copy it to ~/bin to make it available globally.

cp bin/Release/net8.0/linux-x64/publish/SelfContainedCliApp ~/bin/

Run it in ~

Output will be:

SelfContainedCliApp
Hello, World!
Directory: /home/<your-username>

About

Experiments with self-contained .NET CLI apps

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages