I have workflow containing an SDK Script activity that was originally built in 9.0. I needed to make a change today and when I opened up the script activity there was the following warning:
Assuming assembly reference 'Laserfiche.RepositoryAccess, Version=9.0.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6' matches 'Laserfiche.RepositoryAccess, Version=9.1.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6', you may need to supply runtime policy
I removed the 9.0 references and added the 9.1 references back in, but it didn't seem to help. I even created a new activity from scratch and still no go.
Since it's a warning, I decided to try and publish and run the workflow anyway. When the script ran I got the following:
[A]Laserfiche.RepositoryAccess.Session cannot be cast to [B]Laserfiche.RepositoryAccess.Session. Type A originates from 'Laserfiche.RepositoryAccess, Version=9.0.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6' in the context 'Default' at location 'C:\Windows\assembly\GAC_MSIL\Laserfiche.RepositoryAccess\9.0.0.0__3f98b3eaee6c16a6\Laserfiche.RepositoryAccess.dll'. Type B originates from 'Laserfiche.RepositoryAccess, Version=9.1.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6' in the context 'Defa
I understand what's going on here, but I can't seem to find any references to RA 9.0 in my workflow. Is there somewhere else I can look that might be hanging on to a reference?