Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is possible to create single file applications in C#

https://docs.microsoft.com/en-us/dotnet/core/deploying/singl...



While it is possible, it is certainly less than stellar compared to the other languages that were reviewed. Granted my experience was 1 - 2 yrs ago with .Net Core 5. I recall having to deal with setting different temp directories each time I wanted to run a another instance of a 'single binary' because the first thing it did was unzip the bundled runtime into the system wide TEMP directory. It certainly was a single file app but behaved more like an installer.

Whoever came up with that obviously didn't understand the why of single .exe applications.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: