Hello,
I encountered an error while implementing OnArgumentsProcessed:
Could not load the file or assembly SLManagedAutomation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null or one of its dependencies. An attempt was made to load a program with an incorrect format.
This happens when using an ad hoc data source. I tried changing the Platform target, but that didn’t resolve the issue. Interestingly, removing lines that call List<T>.AddRange(IEnumerable<T>) makes the error disappear.
Any ideas on the root cause and how to fix it?