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

dll to NuGet package namespace

Solved770 views19th July 2024SRM
3
Philip Argent [DevOps Enabler]579 24th April 2024 1 Comment

I'm working on resource automation and pulling apart the SRM Use Cases Demo 1.0.2 package for inspiration.
Loading SRM.ApplyProfileToResource into a solution, it references SLSRMLibrary and SLCodeLibrary.

I can see from here there's a new NuGet dev pack, which I've changed the namespace for what's detailed on that page from Skyline.DataMiner.Library.Solutions.SRM to Skyline.DataMiner.Core.SRM, but there are some other namespaces in that script that still aren't happy, what NuGet packages are needed, and what do the namespaces change to, if they do?

using Skyline.DataMiner.Library;
using Skyline.DataMiner.Library.Automation;
using Skyline.DataMiner.Library.Automation.UserInterface;
using Skyline.DataMiner.Library.Exceptions;
using Skyline.DataMiner.Library.Resource;
using ErrorInfo = Skyline.DataMiner.Library.Automation.UserInterface.ErrorInfo;

Philip Argent [DevOps Enabler] Selected answer as best 19th July 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 18th July 2024

I see that this question has been inactive for some time. Do you still need more information for this? If not, could you select Jorge’s answer to indicate that the question is resolved?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Jorge Dias [SLC] [DevOps Enabler]4.78K Posted 24th April 2024 0 Comments

Hi Philip,

Visual Studio should normally suggest the correct namespace if you hover over the error, that will probably help to fix the errors.

Think the list bellow should be enough:

using Skyline.DataMiner.Core.SRM;
using Skyline.DataMiner.Core.SRM.Exceptions;
using Skyline.DataMiner.Core.SRM.Extensions;
using Skyline.DataMiner.Core.SRM.Extensions.Resources;
using Skyline.DataMiner.Core.SRM.Utils;
using Skyline.DataMiner.Core.SRM.Utils.Automation;

using ErrorInfo = Skyline.DataMiner.Core.SRM.Exceptions.Errors.ErrorInfo;

Note that to run your script you will need to have SRM package 2.0.1 installed in your DMA, so all other script will also need to be compatible with that SRM version.

Also note that SRM Use Cases Demo is not yet compatible with the SRM nuget dev package.

Philip Argent [DevOps Enabler] Selected answer as best 19th July 2024
You are viewing 1 out of 1 answers, click here to view all answers.
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