Hi all,
I'm trying to get a remote standalone parameter on an element of a specific protocol type like so:
The code compiles fine locally, however as soon as it runs on the customer's system, I get these reference errors:
I already checked for SLCommon, SLManagedScripting, and SLManagedAutomation dlls. Is there one that I'm possibly missing? Or would this error be from something else entirely? Both the customer and I are running DM 9.6 CU21 if that matters.
Thanks in advance!
Hi Alex
When using the class library, all code used from the class library is part of a QAction that gets generated by DIS (typically QAction 63000).
There is a setting in DIS where you can configure whether this QAction gets generated automatically:
In case this option is not enabled, you'll have to trigger the generation manually. This can be done in Visual Studio via DIS > Protocol > Generate Class Library Code.
This was indeed the issue. I had it set to not auto-generate, so as soon as I generated it using the proper class library version, it worked. Thanks again!!