Hi I implemented this solution: I created a dll which centralized all the main functionalities, I placed in the GAC following the step mentioned in this article and now it's referenced by many script tasks.
The problem I found with this approach, is that every time I updated the dll, I had to open each script task and refreshed (remove and then add) the reference to the dll. If I didn't do that I received this error message:
Error: The script threw an exception: Could not load file or assembly '[dll-name], Version=18.104.22.168, Culture=neutral, PublicKeyToken=d683c8b35189db35' or one of its dependencies. The system cannot find the file specified.
Does anybody know a way to update the dll without refreshing each script task one by one?
Thanks in advance.