Warning on C# Components

Since installing the latest Rhino Inside and Rhino 7 (rather than the WIP build), we’ve been getting this warning on C# scripts (the code in node kind), not custom libraries. Is there a way to resolve this issue?

Error as text: 1. Warning (CS1701): Assuming assembly reference ‘RhinoCommon, Version=7.0.20314.3000, Culture=neutral, PublicKeyToken=552281e97c755530’ matches ‘RhinoCommon, Version=7.2.21021.7001, Culture=neutral, PublicKeyToken=552281e97c755530’, you may need to supply runtime policy

I’ve tried making a fresh C# node and copying all code over, but the warning re-appears. Not sure what else to try.


Its a bug by the looks of things. I see the same issue with the GeometryDecoder class. Its odd since changing the conversion call to any other member to intentionally cause an exception before reverting back to the one I need removes the warning. cc @kike

@Matthew_Breau Would you be able to share the code so I can test? I don’t see any errors on mine. Also do you have any other assemblies manually added to references on this component?

I am having the exact same issue: image . The only manually added assemblies are: RevitAPI.dll, RevitAPIUI.dll, and RhinoInside.Revit.dll.

Thanks in advance!