GH Error: "File path folder cannot be determined. Unrecognised folder pattern"

Strange, when I start Grasshopper in debug mode from VS (testing my component) I get the following error message when trying to save the GH definition, but it works if I start the GH definition in a normal Rhino session (no debugging involved).

bild

If I try save to .ghx it saves without problem.

Has anyone else encountered this problem?

Rhino Version 6 SR13 (6.13.19058.371, 02/27/2019)

// Rolf

(Bump). Is there anything I can do to track down the cause of this error?

Again, I can save ghx, but not the binary .gh version of the gh file. Does this perhaps indicate some serialization problem. If so, can I trap that error myself somehow?

// Rolf

So the second error is when you try to load that file which didn’t save correctly?

No, it’s the report (messages, see screenshot) from the one and only error I get when trying to save the gh version (edit:) when started from VS for debugging:
bild

Edit: Hm, interesting. if I first save in ghx format and after that save in gh format, then it saves! :slight_smile:

// Rolf

Just to be clear: although there’s a workaround as mentioned above (first saving to ghx, then to .gh) the original problem remains in that the gh file cannot be saved without the workaround.

// Rolf