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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Nuget failing for Skyline.DataMiner.Utils.MediaOps.Common

112 views2 days ago
1
Mark Smith34 3 days ago 0 Comments

I am trying to work with some of the MediaOps scripts in Visual Studio and DIS and I cannot get the NUGet packages that are required as they are failing

using Skyline.DataMiner.MediaOps.Communication.ScriptData;
using Skyline.DataMiner.Utils.MediaOps.Common.Take.ScriptData;
using Skyline.DataMiner.Utils.MediaOps.Common.Utils;

I am trying to get the package Skyline.DataMiner.Utils.MediaOps.Common

but Nuget is failing with

Unable to find package Skyline.DataMiner.Utils.ScriptPerformanceLogger. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org

I also notice that Skyline.DataMiner.Utils.MediaOps.Common is deprecated as it is no longer maintained.

Is MediaOPs going to be maintained in future as I don't want to build on something that will not be maintained.

Thanks

Mark

Thomas Remmery [SLC] [DevOps Advocate] Answered question 2 days ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Thomas Remmery [SLC] [DevOps Advocate]705 Posted 2 days ago 0 Comments

Hi Mark,

First and foremost, I want to applaud you on the fact that you want to create your own workflow script. I do want to emphasize that the it's not the intention that you overwrite the existing Workflow.Connection.Default script, but create a new script with your custom logic. This custom script can then be linked to the connections by editing them in your workflow in the Workflow Designer application.

Now, about the code libraries you're unable to reference. Skyline.DataMiner.MediaOps.Communication is a NuGet package that we host on a private NuGet store. So it's normal that you cannot access it. As a workaround you can grab the version compliant with v1.3.1 of the solution from the DMA on which you installed it. You can find the DLL over here: "C:\Skyline DataMiner\ProtocolScripts\DllImport\skyline.dataminer.mediaops.communication\1.0.1-rc03\lib\net462". You can copy it to your local machine and reference it to compile your script. Same thing for the Skyline.DataMiner.Utils.ScriptPerformanceLogger which can be found over here: "C:\Skyline DataMiner\ProtocolScripts\DllImport\skyline.dataminer.utils.scriptperformancelogger\2.0.9\lib\net462".

As for the Skyline.DataMiner.Utils.MediaOps.Common. This is, as you noticed correctly, a deprecated NuGet package. However, we decided to include this library as an Automation Script Library in the MediaOps package. This is an Automation Script that cannot run on its own, but contains logic that can be referenced by other Automation Scripts. See: Compiling a C# code block as a library. In order to compile your code against this, you can import the MediaOpsCommon automation script and let the Workflow.Connection.Default script reference it.

I hope this helps you. We are well aware that this is a very cumbersome workaround. That's why we're working on a single public MediaOps API that would fix all of the issues you're encountering and make extending the solution much easier. I can assure you that MediaOps is still being maintained. Any kind of feedback can be sent to support.mediaops@skyline.be

Kind regards,

Thomas Remmery [SLC] [DevOps Advocate] Edited answer 2 days ago
0
Reinout Daels [SLC] [DevOps Advocate]787 Posted 2 days ago 2 Comments

Hi Mark,

Could you please indicate which MediaOps version you are using? You can find this by going to any of the MediaOps applications and going to the last page with the 'info' icon (for example: MediaOps version 1.3.1 is being used in the screenshot below). 

It could also help to get some context on what you are trying to achieve with the scripts you're building. It's definitely the case that the MediaOps apps will be maintained and supported going forward, but we're still working on adding helper classes for people to leverage MediaOps functionalities in custom scripts.

Reinout Daels [SLC] [DevOps Advocate] Posted new comment 2 days ago
Mark Smith commented 2 days ago

Hi Reinout,

The version is 1.3.1. which I have just deployed from the Catalog in the last few days.

I was looking at the existing scripts (Workflow.Connection.Default) in order to understand how to develop custom scripts that will be linked to the connections in a workflow for a custom application. I imported it into Visual Studio but got lots of red errors which I was unable to fix by getting the required Nuget packages. I am trying to evaluate the use of MediaOps as an alternative to just building and scheduling custom automation scripts in cube which is what I have done previously.

Reinout Daels [SLC] [DevOps Advocate] commented 2 days ago

Are these automation scripts supposed to apply configuration on devices for scheduled events? Because if it's only about scheduling an automation script to run at a given time, MediaOps might not be the perfect fit for your use case.

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

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