Adding icon to grasshopper plugin component

Hello!

I am developing a plugin for grasshopper and trying to add an icon for a component. It seems like the way of adding resources has now changed and I cannot get it to work.

When I go to Properties>Resources I no longer get the page to add resources, but a warning that this has changed and a link to the new location to do this.

when I go there I add the resource by pressing the green + button:

but then when I try to add the icon in the code (using the same name):

thanks in advance!

Hello
I do that , less simple than with Rhino 7 but it seems to work

image

hi Laurent,

thanks for your help and quick reply.

I have tried replicating your code but i still get the same error.

can you please run me through the process of adding the image in more detail - there must be something im not doing

thanks!

Hard to go in more detail
click on that


I got that

In your description you say you are on Mac ?

Also I think I found using this forum or other place on internet.

yeah so my problem is for some reason the files arent getting added correctly to the resources, i do not get them on autocomplete.

sorry the mac tag was an error, i have now removed it. thanks!