4 ms·
Actually, it does work from Linux! I just tried it and "dotnet publish --os win" cross-compiled from Linux to Windows. Nice!
by schemescape 4y ago
Actually, it does work from Linux! I just tried it and "dotnet publish --os win" cross-compiled from Linux to Windows. Nice!
- kcartlidge 4y ago> Actually, it does work from Linux ... cross-compiled from Linux to Windows. Here's a link to the commands I use to generate my cross-platform builds [1]. They are easy enough to stick in a shell script or batch file so you get all the builds with one command. These produce single executables, trimmed for size. [1] https://github.com/kcartlidge/Newt#generating-stand-alone-builds https://github.com/kcartlidge/Newt#generating-stand-alone-bu...