News for hackers. Stuff that matters.
Re:.NET 6 Released by BiteCode_dev on Monday November 08, 2021 @01:09PM (#29152222)
Does this mean you need one binary per OS so that the runtime matches, or do they do some magic so that one single binary can run on all Oses ?
Re:.NET 6 Released by jonathanlydall on Monday November 08, 2021 @01:44PM (#29152670)
You create a single binary which has the runtime and dependencies self contained within.

You of course have to choose your target platform for this as it makes .exes for Windows, ELFs for Linux, etc.

If you want you can still choose to distribute IL DLLs and users then use their already installed dotnet on their machine to run them.

Re:.NET 6 Released by e12e on Monday November 08, 2021 @03:18PM (#29153729)
> You of course have to choose your target platform for this (...)

https://github.com/jart/cosmopolitan

(but, yeah, you probably want one version per target, even if hacks are cool)

Re:.NET 6 Released by sebastienros on Monday November 08, 2021 @01:34PM (#29152526)
You create one binary per OS.