I have assigned an icon to my application from the Properties window in Solution Explorer in Visual Studio; the application's icon changed successfully but the title bar is still showing the default icon:

![The title bar, showing the default icon](https://i.stack.imgur.com/DUpG4.png)

I've rebuilt my application but it still displays the default icon. What am I doing wrong?