C# component throws error in RIR

problem C# in RIR.gh (51.2 KB)
Hello all, I used a C# component in Rhino 8 no problem but it gets weird in RIR.

Try disabling all other Revit plugins except for Rhino.Inside and see if this happens. I wonder if this is a conflict on versions of Microsoft.CodeAnalysis library

Still the same, it’s something else

Hi Thomas,

Can you provide additional info about your environment and script? Thanks

Well I attached the script to this forum so that’s it.


Windows 10 64 bits

Everything is Ok here.

Try loading grasshopper from the Rhino command line in RiR with GrasshopperLoadOneByOne and say no to GH plugins that do not ship with Rhino.

It seems you have another version of Roslyn already loaded

Roslyn ? Can you tell me more ?

Here’s what I got


You’ll need to load the native components, skipping GH plugins that do not ship with Rhino

Is there an easy way to do that ?

Move all the gh plug files to a temp location (from your library / package manager location) or just say No to the first 12 (if i recall) gh plugins when using GrasshopperLoadOnebyOne

What’s the point of that setting again ?

It corrected the problem but I might have done something bad. I can’t remember why I switched it on in the first place.