Hi All,
I am slowly migrating some of my old C# scripts from the old Grasshopper in R7 to the new Grasshopper in R8. Most things go pretty well. On this one, I have an error that I don’t understand. Here’s the GH file with both old and new versions side by side.
tell-me-where.gh (9.9 KB)
It’s just a simple thing that helps me keep up with where a particular file is stored. But in the new script I get squiggly lines under the GrasshopperDocument and here’s what the message says.

What am I missing? I can use the debugger and walk thru the program and everything works fine. I try to be good about getting rid of warnings in my code. What do I need here that I didn’t need in the old script component?
2 posts - 1 participant