Hi everyone
I had a connector on a DMA, via DIS I importerd the protocol, I converted it to a solution so I can handle it also on git.
But when I tried to build the solution before to import it back on the DMA, I got stuck on this error, I got it also if I tried to save the solution as dmprotocol or xml file.
I missed some step after the convertion to solution of the protocol?
Hi Marco,
There are some limitations regarding converting a protocol that was imported from an Agent: When importing a protocol, it will only import the protocol.xml file but not any third-party assemblies it uses. Therefore, when converting the protocol XML to a solution, assembly references might not be accurate and need some manual adjustments.
The message indicates that there seems to be an absolute path mentioned as HintPath for the protobuf-net reference in the .csproj file of QAction 63000. Can you verify if this is the case? In case you do not need this reference, can you remove it and try again?
If there are non-dataminer assemblies that are required, you should take these from the system and put these in the Dlls folder of the created solution and then update the hint paths in the csproj files to point to the assembly in this Dlls folder (e.g. <HintPath>..\Dlls\MyCustomDll.dll</HintPath>).
Can you also verify whether there is a package reference like this in all QActions? <PackageReference Include="Skyline.DataMiner.Dev.Protocol" Version="10.3.0.25" />. This is the so-called dev pack NuGet which references core DataMiner assemblies which allows developing (and compiling on CI/CD pipelines) without needing DataMiner installed locally. The version of the package is the DataMiner version you want to develop against.
What is the value of the dllImport attribute of QAction 63000 in the protocol XML you imported/converted? What version of DIS are you using and do you have DataMiner installed on the system where you ran the import?
Kind regards,