Run it not through Visual Studio - then the icon should look just fine.
I believe it is because when you debug, Visual Studio runs <yourapp>.vshost.exe
and not your application. The .vshost.exe file doesn't use your icon.
Ultimately, what you have done is correct.
- Go to the Project properties
- under Application tab change the default icon to your own
- Build the project
- Locate the .exe file in your favorite file explorer.
There, the icon should look fine. If you run it by clicking that .exe the icon should be correct in the application as well.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…