Grasshopper

algorithmic modeling for Rhino

Custom C# component does not appear on the toolbar ribbon

Hi,

I am currently working with custom component. The custom component for some reason does not appear on the toolbar inside grasshopper. The problem seems to be restricted to windows 10 since I have used this component before in windows 7 without any problem. I tried to to put break point around the code to try debug it but I can't seem to trigger anything. Do you guys know how to debug this issue?

Here's the code on github

https://github.com/dnkrtz/intralattice

Views: 593

Replies to This Discussion

So it turns out this was a build issue. In the build configuration, I had set the 'Target Platform' to 64bit. To make matters worst, I released a Debug64 build, instead of a Release build. If anyone is reading this post has this issue when developing a C# plugin, double check your build configurations.

I'm not too sure why Windows 10 doesn't play well with Debug64, but this was also an issue for people with 32-bit systems. Anyways, problem solved!

Debug vs Release builds certainly shouldn't matter a great deal. Release builds are typically faster (ranging from barely to astoundingly faster depending on what your code does) but they shouldn't function differently.

x64 flavours will refuse to load on 32-bit Rhinos and vice versa, so if at all possible keep your bit-depth agnostic. This will only be possible if you do not reference dlls with specific bit-depths though.

Thanks for clarifying

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service