algorithmic modeling for Rhino
Hi everyone,
I created a component for Rhino 5 and GH 0.9.0006. In this setting it works fine.
If I open Rhino 4 (also with GH 0.9.0006) it doesn't recognize the component.
I had pretty much the same code running on both Rhino Versions on GH 0.8.0066 (only change pretty much was the "AssemlbyName" to "Name" so it would debug on GH. 0.9)
Does anyone know what the reason might be?
Thanks
- Martin
Tags:
Could be. I'm using .net 4.0 for the plug-in (Since I want to use Tuples as Dictionary keys)
But if Rhino 4 and 5 are installed on the same machine the .Net runtime should either be available to both or none of the versions - or am I wrong here?
- Martin
That is correct. In reality there are 3 major versions of .NET 1, 2, and 4 (different versions of mscorlib.dll)
Rhino 4 uses .NET 2 which includes 3 and 3.5.
Rhino 5 uses .NET 4
Correct, 3.5 will run on both Rhino4 and Rhino5, .NET 4.0 will only run on Rhino5. There is no downside to sticking to 3.5 apart what you mentioned, though of course 4.0 has more new stuff:
http://msdn.microsoft.com/en-us/library/ms171868(v=vs.100).aspx
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Another possible influence might be any dependencies on external assemblies. My plugins that link to latest versions of Robot and Tekla use API's that use dotNET4.0, so no choice but to run in Rhino v5 for this.
No matter what your dll is compiled against, it will be running in .NET 4 when it is executing in Rhino 5.
You also need to set the runtime to .NET 4 for debugging in Visual Studio 2010 in Rhino 5.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by