3 ms·
Latest .net core 3 apparently supports single-bibary packaging. It has been a often-requested feature for at least 2 years. https://github.com/dotnet/corefx/i
by tgtweak 8y ago
Latest .net core 3 apparently supports single-bibary packaging.
It has been a often-requested feature for at least 2 years.
https://github.com/dotnet/corefx/issues/13329 https://github.com/dotnet/corefx/issues/13329
(The last comment referring to warp is indicative)
- wokwokwok 8y ago.Net Core 3 wont be out until next year. The current .Net Core 2.x runtime has had this feature since it came out though (last year?). (Hello world + runtime is like 100 MB and several hundred files)
- MarkSweep 8y agoFor what it's worth, the IlLinker can get Hello World down to 20MB and as many files: https://github.com/dotnet/core/blob/master/samples/linker-instructions.md https://github.com/dotnet/core/blob/master/samples/linker-in... If you use some extra options to disable crossgen and link System.Private.CoreLib, you can get the size down to 10MB, at the expense of startup time: https://github.com/AustinWise/IlLinkerExample https://github.com/AustinWise/IlLinkerExample
- jobigoud 8y agoYou can do this in regular .NET already using Costura Fody. It puts the DLLs (native or managed) as resources and load them at runtime. https://github.com/Fody/Costura https://github.com/Fody/Costura