Additional console window if packing WPF Gui App
Opened this issue · 2 comments
M0n7y5 commented
snow-jallen commented
I've got that same issue. I tried the code referenced here but that didn't help. https://stackoverflow.com/questions/3571627/show-hide-the-console-window-of-a-c-sharp-console-application
dahovey commented
This happened to me too. I was able to fix it after running dotnet warp by running:
editbin /subsystem:windows <output>.exe
I also set an application icon in csproj using <ApplicationIcon>Resources\Images\256_256px.ico</ApplicationIcon>
. The application icon is visible in File Explorer for the output exe, but the output of dotnet warp the custom icon is not longer present.
I wonder if both of these issues are related?