DEV Community

Discussion on: How to Conditionally Target WinExe

Collapse
 
cartblanche profile image
Dominique Louis

Hi Kelly,
I'm in a similar situation trying to create a dotnet binary that will run on Windows, Linux and MacOS for my upcoming game. I was wondering if you'd tried tweaking MSBuild, maybe using a conditional, so that on/for Windows it uses WinExe (except for UWP apps) and for the other platforms it uses Exe?

D.