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
    • Courses
    • Certification
      • DataMiner Operator
      • DataMiner Administrator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
    • Video Library
    • Books We Like
    • Third-party Courses
    • DevOps Enablement Services
    • Quizzes
  • RESOURCES
  • 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)
  • Expert Hubs
    • DataMiner DevOps Professional Program
    • DataMiner
      • DataMiner Releases & Updates
      • System Architecture
      • Integration Studio
      • Visual Overview
      • Security
    • Technologies
      • CI/CD
      • Converged Interconnect Networks
      • DOCSIS 3.1 / DAA
      • Elasticsearch
      • Kubernetes
      • Telemetry / Flow Monitoring
      • PTP
      • SDN / ST2110 / NMOS
    • Business
      • Software Business models
      • Perpetual Use or Usage-based Services
  • Discover
    • Markets
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Solutions
    • Use Case Library
    • DataMiner Dashboards
    • DataMiner Downloads
    • DataMiner Modules
      • Core features
      • SRM features
    • DataMiner Apps
    • Professional Services
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • Pricing
  • More
    • Feature Suggestions
    • Online DataMiner Systems
    • Leaderboard
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
    • Verify a certificate
  • >> Go to dataminer.services

Dll Ref ignored in DIS

Solved155 views4th July 2023automation scipt DIS reference
2
Gerwin van der Kamp [DevOps Enabler]944 4th July 2023 0 Comments

Hi,

I'm creating a script using System.Xml.Linq.dll in my script.xml is the following:

<Exe id="2" type="csharp">
<Value><![CDATA[[Project:Cs_sharpProject]]]></Value>
<!--<Param type="debug">true</Param>-->
<Message></Message>
<Param type="ref">System.Xml.Linq.dll</Param>
</Exe>

However when i publish this with DIS the DLL Reference field keeps empty in in the automation view. Adding a script reference will show. How do i fix this so i can just publish the script and i dont have to do some manual steps after?

Gerwin van der Kamp [DevOps Enabler] Selected answer as best 4th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Michiel Oda [SLC] [DevOps Enabler]1.82K Posted 4th July 2023 5 Comments

Hi Gerwin

This can be solved by adding this tag to the cproj (SDK-style) of the script:

<PropertyGroup>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>

By default, Visual Studio adds the framework references, but they aren't specified in the csproj. That is why DIS doesn't see those references and doesn't add them. After adding the tag and adding the framework assembly, I was able to properly generate those references.

We'll look in adding that tag in the Visual Studio Templates so that future solutions won't have this problem anymore.

Gerwin van der Kamp [DevOps Enabler] Posted new comment 4th July 2023
Michiel Oda [SLC] [DevOps Enabler] commented 4th July 2023

https://github.com/SkylineCommunications/Skyline.DataMiner.VisualStudioTemplates/pull/11

Michiel Oda [SLC] [DevOps Enabler] commented 4th July 2023

Can you see in the csproj file the following tag:

Referencing the assembly again should result in this. I’ve tried it myself and for me it adds it correctly. I’m currently using the latest DIS version (2.42.1.7) and SDK-style projects.

Gerwin van der Kamp [DevOps Enabler] commented 4th July 2023

added a tab to the.cproj and it worked.

Michiel Oda [SLC] [DevOps Enabler] commented 4th July 2023

Maybe the file wasn’t properly saved?

Gerwin van der Kamp [DevOps Enabler] commented 4th July 2023

Yes might be, or not properly reloaded or something. 🙂 it works now that’s important 🙂

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

My Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (54) Alarm Console (53) alarms (69) alarm template (58) API (34) Automation (143) automation scipt (65) Automation script (95) backup (54) Cassandra (141) cloud (36) Connector (44) Correlation (42) Cube (114) Dashboard (134) Dashboards (134) database (64) DataMiner Cube (37) DIS (53) DMS (48) DOM (66) driver (48) DVE (43) Elastic (73) Elasticsearch (99) elements (49) Failover (90) GQI (49) HTTP (45) IDP (54) low code app (68) low code apps (42) MySQL (50) protocol (145) QAction (56) resources (34) security (71) SNMP (55) SRM (266) SRM resources (37) timeout (35) trending (66) upgrade (44) Visio (370) Visual Overview (290)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

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