dotnet-warp icon indicating copy to clipboard operation
dotnet-warp copied to clipboard

Additional console window if packing WPF Gui App

Open M0n7y5 opened this issue 5 years ago • 2 comments

Hello, After successful dotnet-warp command when i run my packed app it will run just fine. Problem is it will also launch a additional console window. Is there a way to hide this console window?

obrazek

M0n7y5 avatar Nov 18 '19 11:11 M0n7y5

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

snow-jallen avatar Nov 25 '19 15:11 snow-jallen

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. image I wonder if both of these issues are related?

dahovey avatar Jun 08 '20 00:06 dahovey