Thursday, October 31, 2019

How to compile c# .net for linux

Example command to run from projects folder:
dotnet.exe build --runtime ubuntu.18.04-x64 --configuration Release

Sources:
https://stackoverflow.com/questions/41533592/how-to-compile-net-core-app-for-linux-on-a-windows-machine
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build

No comments:

Post a Comment