Grasshopper

algorithmic modeling for Rhino

Hello.

I'm building some of my components for Rhino 5 and I've found that all of them which uses an external .dll throws these errors when loading (i'm translating from original errors in spanish so could be a little different from english errors):

Object: CustomComp (level 1) {

Exception has been thrown by the target of an invocation

TargetInvocationException

}

Object: CustomComp (level 2) {

The file or assembly 'clrzmq, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' and one of its dependencies could not be loaded. System cannot found specified file.

FileNotFoundException

}

All the plugins worked well on Rhino4 when they were build for .net 3.5. Now i'm building them for .net 4 and all of those errors are launched in the ones that uses any dll. The dll libraries are in the same folder than the plugins.

I've tested the dlls work well in .net 4 with console applications with .net4 target plattform and they work well in order to discard problems with the libraries in that version of .net.

Thanks in advance!

Views: 890

Replies to This Discussion

I've solved part of this this unistalling rhino5 64 and grasshopper and installing the x86 version.

Some dll are still throwing that error (the ones developed for .net 4), but others don't (dll for .net 3.5 and below)

Try toggling the COFF loading option in the rhino command GrasshopperDeveloperSettings, restart rhino and see if it is resolved.

Didn't wotk either, but I managed to resolve tha

Didn't know what happened with the last post.

I resolved it by using another dll which was developed for .net 3 and it worked. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service