Currently I am creating a new assembly using visual studio. Let’s call this assembly A. I reference assembly B to the assembly A project. However I could not load assembly B in grasshopper. It keeps reporting the same problem.
Object: AssemblyA (level 1)
Exception has been thrown by the target of an invocation.
Object: AssemblyA (level 2)
Could not load file or assembly ‘AssemblyB, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
I have read all other related grasshopper forum topic related to this error and could not find my own solution. I have also tried the following:
Re-opened my Visual Studio and project.
Removing extra references in the code
Copying both AssemblyA and AssemblyB .gha to my
Setting Copy True local of all the references to false.
Clear all temp files
Thanks in advance