3 ms·
Well, if not Mono, then the .NET Core runtime package, right? It's not self-contained. I read this [1], but it's unclear to me how I build a self-contained bina
by atombender 8y ago
Well, if not Mono, then the .NET Core runtime package, right? It's not self-contained. I read this [1], but it's unclear to me how I build a self-contained binary, or what options are available for AOT.
[1] https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md https://github.com/dotnet/core/blob/master/Documentation/sel...
- chusk3 8y agoIf you build with 'msbuild publish -r debian8.x64' or any of the other valid 'runtime identifiers', the output of the build is an xcooy-deployable folder that contains your binary and all it's dependencies including the runtime. I use this at work to make Debian packages that are standalone.
- atombender 8y agoCool, thanks!
- algorithmsRcool 8y agoThe command you are thinking of is probably `dotnet publish -r debian.8-x64`