Hello,
since a few days the templates for creating a new automation or user defined API project are not working as expected anymore (tried on multiple PCs)
creating a new project:
before the solution explorer would show something like this:
but now it shows
also the reference to the CS file in the XML is wrong
opening the CS file from the XML file
shows this
and opening the CS file from withing in the solution explorer shows the correct one.
It seems that this issue is somewhat similar to Upload automation script does not show script code in Dataminer Cube - DataMiner Dojo
but the "solution" there is not applicable here.
Things done so far:
- Uninstall and reinstall DIS
- reinstalled templates "dotnet new install Skyline.DataMiner.VisualStudioTemplates"
- obvious reboots
saw that the templates where updated to v2.0.3 4 days ago. Pretty sure it worked before last week. Coincidence?
Hi Peter
Like Robbe said, we are advancing our CI/CD and how we handle AppPackages as well. With the new templates (range 2.x.x), the solutions templates have been removed and new project templates have been added. DIS is, at the moment of posting this, not updated yet with the changes to support the new templates. As QA is continuing on that, we hope that we can release DIS soon.
I see that you already tried reinstalling the templates, so the temporary fix will be 'easy'. In the DIS settings, you can disable the automatic updates of the templates (DIS settings | DataMiner Docs). Then you can uninstall the templates and install the latest version of the 1.x.x range. Those still contain the solution templates (hence the Major version increase to 2.x.x range indicating breaking changes).
This would be:
dotnet new install Skyline.DataMiner.VisualStudioTemplates::1.0.18
When DIS will be updated with changes for the project templates, you can enable the automatic update of templates again and for new solution, you can then use the new templates. This has the added benefit that you can make complete AppPackages with functionality to import Dashboards and LCAs and more. These can also be put on GitHub with included workflows in the templates for improved user experience when creating new repositories.

Hello Michiel,
Thanks a lot for your solution.
I followed your procedure and happy to see the templates are there again.
so:
– Disabled "Download Templates on Visual Studio Startup"
– Uninstalled Skyline.DataMiner.VisualStudioTemplates v2.0.3
– Installed Skyline.DataMiner.VisualStudioTemplates v1.0.18