Hi everyone,
i’ve I plugin written for GH in Rhino 7, everything works fine in my system but when i’m installing it on other systems i have a loading error.
I copy all the bin folder and dependencies .dll on the new system (all files are unblocked). Lunching Grasshopper i receave the following message:
Path: C:\Users\cocoa\Desktop\bin\bin\PhysX.GH.gha
Exception System.IO.FileNotFoundException:
Message: Impossible de charger le fichier ou l'assembly 'PhysX.Net.dll' ou une de ses dépendances. Le module spécifié est introuvable.
I checked the loading of assemblies with the windows fusion debug “FUSLOGVW.exe” and comparing it I can find some differences in the log when lunching grasshopper.
The yellow squared log is from the machine working fine. It looks like assembly are loading in a different way and I can figure out why.
I don’t know really, i compile it the .dll from VS and i change de file to .gha. In the same folder i copy all the required dll. GH load it at startup. No problems in some systems
Try to add [assembly: GH_Loading(GH_LoadingDemand.ForceDirect)] to force GH loads your plugin directly, which helps with satellite assembly resolving sometimes.
Hello @gankeyu, i still have the problem… i think the plugin already was loaded by disk. I still can’t load it because the reference assembly is missing.