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
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Which files of an Automation Script Solution add to source control

223 views28th March 2025DIS
1
David Crome269 28th March 2025 0 Comments

Hi Dojo,

I am using the Visual Studio DIS extension to develop a protocol and also automation scripts. Adding the protocol Solution to source control (Git) was easy, the structure is easy to understand and every QAction has a cs and a csproj file.

But the Automation Script solution has way more files and I don't know which files I need to add. I imported multiple Automation Scripts to the VS Solution. Do i also need to add the bin and obj folder which every Automation Script has? I guess not, but how did you do that? I did not find anything in the documentation.

Thanks
David

Michiel Oda [SLC] [DevOps Enabler] Answered question 28th March 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Robbe De Ghein [SLC] [DevOps Advocate]785 Posted 28th March 2025 1 Comment

Hi David,

You should be able to just add all files in the folder of your solution and (git) ignore the folders which are not needed (like bin and obj).

A 'dotnet new gitignore' command at the root of your repository should do the trick.

David Crome Posted new comment 28th March 2025
David Crome commented 28th March 2025

Thanks Robbe for your quick answer.

Ignoring files is easy, but I wanted to know which files I can ignore or which files need to be added. I will ignore bin and obj folders and only add the cs and csproj file of the Automation scripts and some other files and folders. So the commited structure should be like this (example script names):

AutomationScript1/
AutomationScript1/AutomationScript1.cs
AutomationScript1/AutomationScript1.csproj
AutomationScript2/
AutomationScript2/AutomationScript2.cs
AutomationScript2/AutomationScript2.csproj
CompanionFiles/**
Dlls/ABOUT
Documentation/ABOUT
Internal/**
AutomationScript1.xml
AutomationScript2.xml
AutomationScripts.sln
Directory.Build.props
README

But I can test it also by checkout the repo to another folder and open it to know if any other person is able to open the solution without the ignored files.

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
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