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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

DIS Automation script solution dll references

Solved1.77K views16th April 2021Automation script solution DIS
5
Philip Argent [DevOps Enabler]579 15th April 2021 0 Comments

Hi, I'm just looking at the automation script solution in the last version of DIS, I've used the protocol equivalent for a while.

I see the AutomationScript_ClassLibrary under internal already has a reference to the Newtonsoft.Json.dll, and I can reference the same Newtonsoft.Json.dll against the script cs so it don't complain about a missing reference, but when it's uploaded it adds a dll ref of my local copy, which isn't in C:\Skyline DataMiner\ProtocolScripts\.

Is there an option coming out to add the reference so it doesn't do this (or another way), like in the protocol solution, under the edit script dropdown to the left of the Exe tag?

As a workaround I've added the dll to C:\Skyline DataMiner\ProtocolScripts\ on my local machine, and referenced it there.

Gelber Mahecha [SLC] [DevOps Enabler] Answered question 15th April 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Gelber Mahecha [SLC] [DevOps Enabler]1.62K Posted 15th April 2021 3 Comments

Hi Philip. This is a known issue we are solving hopefully soon in DIS. In the meantime, you can manually add a DataMinerDLLPath tag to the .csproject file using the following procedure:

  • In VisualStudio Solution Explorer, select the automation project and, with a right-click, unload the project:

  • Once unloaded, edit the .csproject by clicking on the Edit option in the project's context menu:

  • In the editor, find a reference to the Newtonsoft.Json.dll with the HintPath tag beginning with a couple of dots (..\\..) and add a new tag DataMinerDllPath with the path where the DLL should be located:

  • Save the .csproject file and reload the project. From now onwards, the compiled script should reference the specified path instead of the ProtocolScripts folder.

This change is only necessary the first time a new reference is added to the project. Also, be sure not to modify any reference in the .csproject file with a HintPath beginning with "C:\Skyline DataMiner..."

Jason Pitteman [SLC] [DevOps Member] Posted new comment 10th March 2022
Tom Waterbley [SLC] [DevOps Catalyst] commented 16th April 2021

There is no need to unload the C# project and edit the csproj file manually. The DataMinerDllPath property can also be set in the Visual Studio UI itself. To do so right click on a DLL reference (i.e. Newtonsoft.Json.dll) and choose ‘Properties’. In the properties window that now appears you can edit the DataMiner path of the DLL.

Gelber Mahecha [SLC] [DevOps Enabler] commented 16th April 2021

Even easier. Thanks Tom!!

Jason Pitteman [SLC] [DevOps Member] commented 10th March 2022

Thanks Tom!

0
Alberto De Luca [DevOps Enabler]4.58K Posted 16th April 2021 0 Comments

Thanks for the tips - I was indeed wondering what was the best way to make it point to the DMA where we connect.
Would there be an option for customers too, at some point, to have a local DMA together with DIS?

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

Recent questions

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin