With the latest update of DIS into 2.35.1.33 and while working on some existing projects, I have noticed that DIS is no longer able to pick up new references of class library (community package) content and add them to QAction63000. Visual Studio doesn't complain since it is able to find the reference within the Class Library project however, DIS Validate isn't able to compile the protocol as it is missing from QAction63000. It appears that the auto-generate feature has been removed from this new version altogether as when creating a new protocol, QAction63000 is no longer created, however when published to the DMA, the references to the community package objects are still not resolved. I'm using Dataminer 9.6.10.
Hi Reza,
All of this seems to work fine over here with the exact same DIS version.
Therefore, can I ask you to verify and share your DIS settings?
If that is all correctly setup and still not working, could you try to manually generate QAction 63000 and share the content of the Output window (DIS - Class Library)
Since you are stating that you are working on some existing project, a first guess would be that some community packages have been used to originally implement the project. If that's the case, you'll need to get a copy of such community packages and refer to them in your DIS settings for the generation to work again.
Additional screenshot on how to chose the base class library package depending on the Minimum DataMiner Version required for the project:
Alright, so the solution now depends on your use case:
Do you need that new ‘IsSslTlsEnabled’ property or is there anything else in the project requiring DM 10.0.3?
– If so, you’ll need to update your DMA to DM 10.0.3 or higher and configure DIS to use class library package 1.2.0.11 (which requires DM 10.0.3.0-8964 or higher)
– If not, you can simply configure your DIS to use class library package 1.1.2.15 (which ‘only’ requires DM 9.6.3.0-8092 or higher)
Downgrading to 1.1.2.15 suits my case and resolved the issue, thanks Simon!
I think I can now see what the problem is, output from the DIS – Classlibrary:
2022/01/07 09:48:49.338|> Executing GenerateLibrary
2022/01/07 09:48:49.338|> Finished executing GenerateLibraryQAction
2022/01/07 09:48:49.339|One or more class library packages contain errors.:
* Skyline/DataMiner/Library/Common/DataMinerSystem/HelperClass.cs (package: Class Library)
– (176,18) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
– (176,53) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
– (189,17) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
– (189,57) CS1061: ‘ElementPortInfo’ does not contain a definition for ‘IsSslTlsEnabled’ and no accessible extension method ‘IsSslTlsEnabled’ accepting a first argument of type ‘ElementPortInfo’ could be found (are you missing a using directive or an assembly reference?)
* Skyline/DataMiner/Library/Common/DataMinerSystem/Objects/Elements/Connections/HttpConnection.cs (package: Class Library)