I can use C# preprocessor directives normally, but they throw an error when used in Rapid SCADA. How can I solve this problem?
As shown in the figure, thank you for your answer!
Hello,
Find and check the SCADA\ScadaServer\Log\CalcEngine.cs file. This file is used by the Server service basing on the Scripts table. You can see that a preprocessor directive brakes the C# syntax. Use constants instead of directives.