Use Visual Studio for Mac with Rhino for Mac

(Dan Belcher) #1

Visual Studio for Mac is no longer in beta…

We are currently using it for Rhino for Mac development and - if you are a RhinoCommon developer targeting Rhino for Mac - we suggest you move from Xamarin Studio to Visual Studio for Mac too.

We have updated the RhinoCommon AddIn - they are called “Extensions” now - so you can debug your plugins in Rhino from Visual Studio.

We’ve also updated the Installing Tools (Mac) guide. If you are familiar with Xamarin Studio, you should feel right at home.

Visual Studio for Mac
(Dan Belcher) #2


Thanks Dan, this is terrific.

Quick question. As long as the RhinoCommon extension is installed, it appears that any VS for Mac project referencing a RhinoCommon.dll will have its output changed from *.dll to *.rhp – even if the project is a generic class library. Is this behavior intended? And is there a way to change it?



(Dan Belcher) #4

That’s not ideal, is it? Logged in RH-40426.

In the meantime, you could create an After Build event (Project > Project Options > Custom Commands) that renames it back…

mv ${TargetFile}.${TargetExt} ${TargetFile}.dll

Not very clean, I know. We’ll look into this.


Thanks Dan – just what I’m doing. Requires separate Windows/Mac project files (or some bash/cmd shenanigans), but totally workable :slight_smile: