@Senih .Net Core handles the storing of images (apparently, I just learned this) as byte[
] instead of as Bitmap type. Which you can see if we look at the generated code-behind file of the Resources for each of your two projects (.Net Framework/.Net Core):
.Net Framework returns Bitmap:
.Net Core returns Byte[]
So you will have to handle the image retrieval differently in the component class, here was your code that wasn’t working:
So if you instead modify the code as follows, it should work as expected:
NOTE: I had to modify the build step that copied the .gha so that it would work on my file system. I also recommend you wrap the build output parameter in double quotes, in case you run the solution from a path that contains spaces in the file path.
Here was the result after starting Rhino 8 with your component: