You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why dotnet publish -r win-x64 -c release /p:PublishSingleFile=true produce different exe files on Windows and macOS?
It is strange that behavior of dotnet publish depends on my host OS and does not allow me to use my working machine (MacBook) to publish app for Windows users. Also I cannot publish app from Linux CI machine.
both generated exe files are committed in result-exe folder
on the first screen you see the difference in size and application icon, here is the difference in application start. Application exe generated on macOS start console window first and only then show the window (this does not happened for exe published on Windows)
Why
dotnet publish -r win-x64 -c release /p:PublishSingleFile=true
produce different exe files onWindows
andmacOS
?It is strange that behavior of
dotnet publish
depends on my host OS and does not allow me to use my working machine (MacBook) to publish app for Windows users. Also I cannot publish app from Linux CI machine.WinExe application published on macOS:
Here is the repo with hello world Avalonia application https://github.com/sergey-tihon/avalonia-win-exe
uses latest sdk
project file targets
netcoreapp3.1
with output typeWinExe
both generated
exe
files are committed in result-exe folderon the first screen you see the difference in size and application icon, here is the difference in application start. Application exe generated on
macOS
start console window first and only then show the window (this does not happened for exe published on Windows)Original issue AvaloniaUI/Avalonia#3723
The text was updated successfully, but these errors were encountered: