Rhino grapgin Button in mac

Hi
I want to add icon for my plugin when it will be run in rhino.
I have mac and I followed these steps >>

Now I have problem with code

RhinoMac not available

\Applications\Rhinoceros.app\Contents\Frameworks\RhCore.framework\Versions\Current\Resources\Rhino.UI.dll False \Applications\Rhinoceros.app\Contents\Frameworks\RhCore.framework\Versions\Current\Resources\RhinoMac.dll False my Rhino is 8

The entire toolbar system has changed for V8 Mac and PC. I don’t know if they have published any new information on how to do this yet.

1 Like

So
How Can I add icon button to my plugin and plugin should work for window and mac
I use Csharp .net 7

Now I change my Rhino to 7 and create a new project
But again I have error for Rhinomac

Error CS1705: Assembly ‘RhinoMac’ with identity 'RhinoMac, Version=5.1.30000.5, Culture=neutral, PublicKeyToken=552281e97c755530’ uses ‘Rhino.UI, Version=7.17.22102.5002, Culture=neutral, PublicKeyToken=552281e97c755530’ which has a higher version than referenced assembly ‘Rhino.UI’ with identity ‘Rhino.UI, Version=7.13.21348.13000, Culture=neutral, PublicKeyToken=552281e97c755530’ (CS1705) (Ijwel2)

This is reference code:

 <ItemGroup>
    <PackageReference Include="RhinoCommon" Version="7.13.21348.13001" IncludeAssets="compile;build" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Diagnostics" />
    <PackageReference Include="System.Net.Http" Version="4.3.4" />
    <PackageReference Include="System.IO" Version="4.3.0" />
    <Reference Include="Rhino.UI">
  <HintPath>\Applications\Rhino 7.app\Contents\Frameworks\RhCore.framework\Versions\Current\Resources\Rhino.UI.dll</HintPath>
  <Private>False</Private>
</Reference>
<Reference Include="RhinoMac">
  <HintPath>\Applications\Rhino 7.app\Contents\Frameworks\RhCore.framework\Versions\Current\Resources\RhinoMac.dll</HintPath>
  <Private>False</Private>
</Reference>
<!--/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Versions/A/Resources/RhinoMac.dll-->

But again Error