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 Ref ignored in DIS

Solved902 views4th July 2023automation scipt DIS reference
2
Gerwin van der Kamp [DevOps Enabler]2.91K 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]3.61K 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 🙂

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