'Is it possible to get dotnet to produce a Windows and a Linux executable?
Building a .NET application via dotnet build produces a EXE file when building on Windows, and an ELF file when building on Linux. Specifying RuntimeIdentifier to linux-x64 when building on Windows also produces an ELF binary. This is not a self contained application.
Is is possible to get dotnet build to produce both an EXE and an ELF file without having to build twice?
If not, since the application is not self contained the EXE/ELF file is just a thin wrapper dotnet <app name>.dll, is there a way to produce just the EXE/ELF without building the entire project?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
