Hello,
I'm having an issue in Visual Studio 2017 where parameter name variable is not suggested. For example, in QAction, I am using protocol.NotifyProtocol (/*NT_FILL_ARRAY_WITH_COLUMN*/) to update a table but when I type "Parameter", nothing is suggested and Visual Studio is trying to replace it with "GetParameters" method. What I need for VS is to suggest table name after that, or if I remember correctly, a list of parameters/tables. A working code looks like this:
Parameter.<table_name>.Pid.<parameter_pid>
I have tried to guess what the parameter_pid should be but DIS validator is throwing a compile error. Any way to turn that suggestion back on?
What does "Generate QAction Helper Code" suppose to do? It doesn't seem to be doing anything for me.
Error message:
I have found out if I change the parameter name from 'operator' to 'leaseoperator' and use variable leaseoperator_2804, it doesn't generate any error message. However, this is a guessing game at this point w/o the help of DIS.
Thanks!
Hi Sean. Do you get an exception when you force DIS to generate the helper code via DIS > Protocol > Generate QAction Helper Code?
Hi Tom,
No, actually, nothing happens when I click on Generate QAction Helper Code (both in XML or inside QAction). What should happen? I’ve been using keyboard shortcuts to generate code in protocol (adding parameters, QActions, Timers, etc)…
I think it will be easier to investigate further during a call. Feel free to contact me on tom.waterbley@skyline.be to setup a call.
Small update for in case somebody faces the same issue in the future. Looked at this together with Sean, and the problem was that the .NET Desktop application development workload was not installed in Visual Studio.
Hi Sean,
Can you post what exception you see in the DIS Validator module please?
Thanks