VS: Register input/output param failed


#1

Hi all,
I’ve just started using VisualStudio to make a custom component, and I try some example in GrasshopperSDK to understand it.
So, I’ve some trouble with debugging register input/output as shown in picture below. I tried using GHA wizard template and manual setup, but still can’t solve the problem.


Any ideas?

Thanks


#2

[Solve]

It need to provide access As Grasshopper.Kernel.GH_ParamAccess in the end of AddTextParameter function. Please update the Simple component example in GrasshopperSDK documentation, it make confused for newbie