I hope all of you are well and safe.
I’ve found an error in some of my C# components, regarding to cast objects. When I’m in debugging mode through Visual Studio the node understand what it is a brep, however when the component is loaded, straight to Rhino GH I got the cast error: Invalid cast: Brep > Brep. (image)
I also got the same error cast points.
This problem doesn’t happen all the time.
I think this problem is related with some VS config that I have? any clue would be very much apreciated.
I’m using Visual studio 2019 community
VS Rhino templates for Rhino 6
Thanks in advance