top | item 32115154

(no title)

pix64 | 3 years ago

Is possible to create single file applications in C#

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

discuss

order

earleybird|3 years ago

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.