Hi,
I'm looking at using compiling a C# code block as a library to simplify some of our scripts, as we have several methods that are duplicated over a lot of them, everything works as explained in Compiling a CSharp code block as a library until I get to the script reference part, once uploaded the reference shows as "C:\Skyline DataMiner\ProtocolScripts\" instead of "C:\Skyline DataMiner\Scripts\Libraries\".
Manually editing the path to the correct one resolves the issue, but I don't want to have to do that every time I upload a change; I can use a ref parameter directly to it, but then that's linked directly to a specific version, which might cause issues down the line.
Also testing edits on the library I see a new version is created each time with a new date in "C:\Skyline DataMiner\Scripts\Libraries\", but then I need to update the reference in my project to use the new version, which does make sense for version compatibility, but I then end up with different version of the dll between our dev and production systems unless I copy one of the files from one to the other and replicate it.
Hi Philip,
On the properties of the reference, you can define the DLL path. When compiling the automation script it will include the defined path to the DLL References.
Thanks Wannes,
The DLL Path override did the trick