The behavior of the NT8 is contradictory
Different parts of the application consider the same script as correct (script editor and charting system) and incorrect one (exporting module).
the Visual Studio does not see any errors in the script.
It means the exporting module has a bug with the high probability.
As I said you may select where the bug is located. It may be the charting system or the exporting module. But the bug is obviously persists.
The dll does not matter antill you fix the inconsistency between the script editor and the exporting module.
The dll MAY be not ideal of course. But it works with charts and .... MS VS.
You cannot explain the message from the exporting module. MS VS does not see this error.
You have the exported file. It means you can check and see what was changed in your code.
As I understand your code should work the same way as MS VS does. The case is trivial and it is unlikely MS VS has a bug in this place.
Is my point of view clear?
Comment