How can I make sure I can use the dynamic variable in a QAction.
I need this to convert Json Data where the parameter names can change, so I cannot hardcode classes that correspond to the Json parameters.
today I get the following error:
error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
As if the reference to Microsoft.CSharp is not available by default.
It works when I add this manually to the dllImport via the protocol editor in Cube.
dllImport="Newtonsoft.Json.dll;[ProtocolName].[ProtocolVersion].QAction.1.dll;Microsoft.CSharp.dll">
How do I add this in a protocol as solution via DIS so it will always be used?
Hi Mieke,
In the QAction project where you need this reference you can click on Add Reference
In case this is no system default, or the file is located in another folder than C:\Skyline DataMiner\ProtocolScripts, you need to add the full path in the reference property. TIP: you can just copy-paste the value from Path to DLL Path.