Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

NuGet Minimum DataMiner Version

Solved1.37K views7th June 2022DIS DLL DMProtocol NuGet Visual Studio
7
Thijs Vanovenacker [SLC] [DevOps Advocate]2.21K 6th June 2022 0 Comments

Hi Dojo,
Is there a minimum DataMiner version to take into account when consuming NuGets in a Protocol solution?

According to this post: https://community.dataminer.services/nuget-use-in-system-development/
The NuGet DLL should end up in this folder:

C:\Skyline DataMiner\ProtocolScripts\DllImport\slc.lib.common\1.1.4.2\lib\net462\SLC.Lib.Common.dll

Though, I noticed the DLL ended in the ProtocolScripts folder directly. (I used a DMProtocol package generated by the Jenkins pipeline)

Also after copying the DLL manually into the correct folder, the QAction code still didn’t compile well.

Therefor I believe this could be a DM version related issue.  The setup where I’m trying out this feature is on: 10.0.0.0-9118

I have now reverted using the NuGet, and I’m using the former Generated Class Library code as workaround for now.

Thijs Vanovenacker [SLC] [DevOps Advocate] Selected answer as best 7th June 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Pedro Debevere [SLC] [DevOps Enabler]1.80K Posted 7th June 2022 1 Comment

Hi Thijs,

The notion of the DllImport subfolder has only been introduced with RN26605 (DataMiner version 10.0.10). With this RN, the ProtocolScripts\DllImport (in addition to the Files and ProtocolScripts) folder is also used as a hint path to search.

Prior to this version, only the Files and ProtocolScripts folder were used as hint paths, meaning that when you have e.g. the following value “slc.lib.common\1.1.4.2\lib\net462\SLC.Lib.Common.dll”, it would look right under ProtocolScripts: “C:\Skyline DataMiner\ProtocolScripts\slc.lib.common\1.1.4.2\lib\net462\SLC.Lib.Common.dll”, whereas starting from 10.0.10, it would also look under “C:\Skyline DataMiner\ProtocolScripts\DllImport\slc.lib.common\1.1.4.2\lib\net462\SLC.Lib.Common.dll”.

Putting the folders under ProtocolScripts instead of ProtocolScripts\DllImport should let DataMiner find the DLLs on the version you are using.

Thijs Vanovenacker [SLC] [DevOps Advocate] Selected answer as best 7th June 2022
Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2022

Thanks Pedro! Moving the NuGet DLL folders 1 layer down into the “ProtocolScripts” folder instead of the “ProtocolScripts/DllImport” fixed the compilation errors. Thanks! I’ll also look into upgrading this DataMiner agent to the most recent version. 😉

0
Robin Meurisse [SLC] [DevOps Enabler]1.15K Posted 7th June 2022 1 Comment

Hi,

I would assume the NuGet class library versions are corresponding with the generated class library versions through DIS.
Meaning that a class library version in the 1.1.x-range will work for a minimum DataMiner version of 9.6.3.0-8092.
And that a class library version in the 1.2.x-range will work for a minimum DataMiner version of 10.0.3.0-8964.

Could you try installing a lower version of the NuGet package that should comply with your DataMiner version?

Thijs Vanovenacker [SLC] [DevOps Advocate] Posted new comment 7th June 2022
Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2022

Hi Robin, Thanks for your reply. I was already aware of the multiple versions. Since I’m building this connector for a DM 10.0.0.0 version, I did use the NuGet for DM 9.6.3 (NuGet v1.1.4.2). The problem really is that the DLL can’t be found it seems…

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs