4 ms·
dotnet publish -p:PublishSingleFile=true
by vips7L 4y ago
dotnet publish -p:PublishSingleFile=true
- pjc50 4y agoThis produces a self-unpacking executable that drops all the assemblies somewhere and then runs it. There can be surprising side effects. https://github.com/dotnet/runtime/issues/59715 https://github.com/dotnet/runtime/issues/59715 And check the small print on your platform as to whether it's really single file not requiring any other dependencies alongside it.
- vips7L 4y ago> This produces a self-unpacking executable that drops all the assemblies somewhere and then runs it. This no longer happens since .net 5.