Hello Dojo community,
Recently I have been tasked to migrate an existing solution into the new solution template so that we can leverage the CI/CD from the start and also the ease of publishing to the catalog among other things.
My question is does anyone have some tips and tricks in regards on how to properly migrate all of the scripts and data sources into the new template?
Since this solution has a significant number of various projects, I'm assuming that it won't be as easy as just copy-pasting the projects into the new solution?
What is the best, most safe and convenient approach?
Thank you all in advance!
Hi Filip,
For this, I created a .NET Console app that converts old Microsoft.NET.Sdk
-based Automation Scripts and legacy build scripts into proper Skyline.DataMiner.Sdk
projects, and automatically places them into a DataMiner Project Package.
You just need to specify:
-
The source directory with your existing Automation Scripts
-
The destination directory where you've already created the DataMiner Project Package
The tool handles everything: loops through the XML files, creates the correct projects using dotnet
commands, and transfers NuGet packages and references as needed.
You can find it here:
👉 https://github.com/SkylineCommunications/SLC-Package-Converter
Hope it helps!