Hi,
I am trying to start using the IAS Toolkit and have followed the instructions in accordance with the link below.
https://docs.dataminer.services/develop/devguide/Automation/Howto/Getting_Started_with_the_IAS_Toolkit.html
It works fine in DIS. The Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit is installed and can be used from the script. But when publishing to the server and run the script from Dataminer Cube it complains that it is missing a reference. Reference Utils is not found.
What am I missing?
Hi Anna,
I had the same issue and found this resolution:
To be able to work with the DevPacks, a setting will need to be manually updated in Visual Studio. Under ‘Tools > Options -> NuGet Package Manager > General’, you will find the ‘Default package management format’. This needs to be set to PackageReference.
For solutions that were already making use of NuGet packages but were using the old approach (packages.config), we’ll need to migrate each project to the new approach (PackageReference).
This can be done by going to the Solution Explorer pane in Visual Studio, navigating to a project, right-clicking on “References” and selecting “Migrate packages.config to PackageReference…”. This needs to be repeated for all projects within a given solution.
I hope this helps with your problem as well.
Can you let me know which versions of cube, DIS and Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit?
Ok issue is with dataminer I tried it again and I have the same issue to repair I cleared all NuGet storage in NuGet Package Manager->General->Clear All NuGet Storage.
After that you should go to Tools NuGet Package Manager Manage Nuget Packages for Solution and uninstall Newtonsoft.Json and then install it and after that build the solution.
After doing this publish and it should work just fine and in future work no problem.
Check my new answer for images.
Thank you for this very good instruction. Sorry it did not help for me. I still get the same problem. I tried the migration to PackageReference, did not work. So I tried to create a new project and add the reference with PackageReference selected, same result.
Could it be a version issue?