Search code examples
vb.netvisual-studiovisual-studio-2017

How do you fix error: Icon stream is not in the expected format


I am getting the following error:

BC30136 Error creating Win32 resource: Icon stream is not in the expected format.

I have researched this, tried deleting all the icons that I have in the project, but to no avail. Does anyone know why this could be happening?


Solution

  • The .ico file was saved as an .ico file but was not in the correct format. If you have the same issue, make sure that the file is actually in the format of an .ico file