I've imported namespace Skyline.DataMiner.Library.Common and there is no red squiggly in VS Code Visual Studio.
The code:
var sdnoColumn = sdnoDestinationsTable.GetColumn<string>(1302);
However, the DIS Validator and Dataminer Cube itself throws the following on the running trying to run validate or run the QAction:
error CS1061: 'IDmsTable' does not contain a definition for 'GetColumn' and no accessible extension method 'GetColumn' accepting a first argument of type 'IDmsTable' could be found (are you missing a using directive or an assembly reference?) (line 292 col 3) [3.4.2]
Hi Robin
IDmsTable is part of the Class Library. This is a generated QAction (63000) that is generated by DIS. DIS only works on Visual Studio.
To resolve this issue, you'll need to develop on Visual Studio with DIS installed and enable the Class Library generation. DIS settings | DataMiner Docs
This will generate the code needed in QAction 63000.
I don’t know why I wrote VS Code when I meant Visual Studio.
I had already generated the Class Library Code with DIS but it didn’t help. However, for some reason it just started working this morning.