C# Argument 'picture' must be a picture that can be used as an Icon

c#, icons, visual-studio-2010, winforms

Solution

After a second restart and then opening and re-saving the .ico myself in Gimp, then I was able to import it without any errors. Not too sure what caused this problem but it was just a freak error.

Problem

I am having trouble importing an icon into my application. I have a main form and I am trying to import to it a new icon via the `Icon` field in `Properties`. The image is already in `.ico` format: this is the link to the icon I'm trying to use. Does anyone know why Microsoft Visual Studio would be displaying this error? Any help would be great.

Original source

Related problems