Importing SpeckleCore2.dll - Illegal Character Error

How can I reference SpeckleCore.dll without getting an “illegal characters in path” error because of that uuid appendix?

1 Like

Hi @peterandwilson :wave:,

You can use \\ (double backslash) to escape that error.

This :white_check_mark:

clr.AddReferenceToFileAndPath("C:\\Users\\P1\\AppData\\Roaming\\McNeel\\Rhinoceros\\7.0\\Plug-ins\\SpeckleRhino2 (8dd5f30b-a13d-4a24-abdc-3e05c8c87143)\\SpeckleCore2.dll")

Instead of this :x:

clr.AddReferenceToFileAndPath(C:\Users\'user_name'\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\SpeckleRhino2 (8dd5f30b-a13d-4a24-abdc-3e05c8c87143)\SpeckleCore2.dll)

3 Likes

Awesome, thank you @gokermu

2 Likes