I am able to remove the window icon from WPF window using WinApi\'s, however I get the icon again in the application window when I run just the executable of the WPF project
Create a transparent 1 by 1 icon and replace it with a standard one
Icon = BitmapSource.Create(1, 1, 0, 0, PixelFormats.Bgra32, null, new byte[4], 4);