VS: Register input/output param failed

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?



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