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

Nuget (dev.common) issue

Solved602 views23rd January 2025DIS NuGet
3
Gerwin van der Kamp [DevOps Enabler]2.91K 11th September 2024 1 Comment

Hi,

I'm trying to use the Skyline.DataMiner.Dev.Common nuget(v 10.4.2.6). I've added the following assemblies

using Skyline.DataMiner.Core.DataMinerSystem.Common;
using Skyline.DataMiner.Core.DataMinerSystem.Automation;

In Visual studio everything is happy with no errors but when i upload the package to my agent i get these kind or errors:

the type or namespace name does not exist in the namespace (are you missing an assembly reference )

So it seems it doesn't import the dev.common nuget correctly.

what is going on?

Edit: tested with latest version but same issue.

Gerwin van der Kamp [DevOps Enabler] Selected answer as best 23rd January 2025
Marieke Goethals [SLC] [DevOps Catalyst] commented 23rd January 2025

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Pedro Debevere [SLC] [DevOps Enabler]1.80K Posted 12th September 2024 0 Comments

Hi Gerwin,

Below some clarification about the different NuGet packages:

The skyline.dataminer.dev.* NuGet packages refer to skyline.dataminer.files.* NuGet packages which contain DataMiner assemblies. These allow to create a Visual Studio solution for DataMiner projects (e.g. for connectors or Automation scripts) and compile the solution by just referencing these NuGet packages without the need to have a DataMiner installed on your dev machine.

When a package is created, e.g. in DIS, for the connector or Automation script, the package will not contain any skyline.dataminer.dev.* package assemblies as these assemblies are already available on DataMiner.

The skyline.dataminer.core.dataminersystem.* NuGet packages on the other hand represent the class library. These should be included in the created package.

When creating an Automaton script and you want to use the class library, you can install the Skyline.DataMiner.Core.DataMinerSystem.Automation NuGet. (Note that as Skyline.DataMiner.Core.DataMinerSystem.Automation has a dependency on Skyline.DataMiner.Core.DataMinerSystem.Common, you only need to install the Skyline.DataMiner.Core.DataMinerSystem.Automation in Visual Studio. The Common one will be indirectly added because it is marked as a dependency in the Automation Nuget.)

When creating a connector and you want to use the class library, you can install the Skyline.DataMiner.Core.DataMinerSystem.Protocol NuGet. (Same remark applies here, if you install the .Protocol NuGet, you indirectly install the Common NuGet as well as it is marked as a dependency in the .Protocol NuGet)

The error "he type or namespace name ‘Dev’ does not exist in the namespace ‘Skyline.DataMiner’ (are you missing an assembly reference?), seems to indicate that you might have a using statement in your code somewhere like "using Skyline.DataMiner.Dev;". Note that there is no such namespace ("Skyline.DataMiner.Dev" is just the start of the name of the NuGet packages but these do not contain types in a Skyline.DataMiner.Dev namespace. As stated, the skyline.dataminer.dev.* just refer to other packages that contain DataMiner assemblies. For example, the skyline.dataminer.dev.protocol package has a dependency on the Skyline.DataMiner.Files.SLManagedScripting package which contains the SLManagedScript assembly that defines types, among others, in the Skyline.DataMiner.Scripting namespace.)

I hope this clarifies things a bit, don't hesitate to ask if something is still unclear.

Gerwin van der Kamp [DevOps Enabler] Selected answer as best 23rd January 2025
You are viewing 1 out of 2 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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 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