VSCode & Grasshopper & macos & Icons

They’ll need to be considered as embedded resources somehow, that way they’re included in the dll. Using glob patterns should avoid having to hardcode them all.

<ItemGroup>
  <EmbeddedResource Include="PluginName/Properties/Resources/*.png" />
</ItemGroup>

This makes sense to me, I’ve included an update code sample below to make this a bit easier.

test2_code_sample.zip (13.9 KB)

3 Likes