Trying to use Thomasâ custom C# component in Rhino 6, GH build 1.0.0007, and am getting this error:
â1. Error (CS1703): An assembly with the same identity âMicrosoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aâ has already been imported. Try removing one of the duplicate references.â
I tried commenting out âusing Microsoft.CSharp.RuntimeBinderâ, no luck.
Does anyone see any issues running this code in GH for Rhino6? Or, are there new solutions for accessing the gene pool component within a custom C# component?
Thomasâ original file, in case you dont wanna scroll up: genepool.gh (11.6 KB)
Have a look at this GitHub repository, which provides a shell for optimization in Grasshopper, including support for genepools. The code for genepools is in Grasshopper_InOut.cs.
I havenât looked at it in a while. but for all I know it should still work.
(I had a look at the component I posted here, but I have no idea why it isnât working anymore.)