I updated a custom workflow (pure c# code) in SharePoint. Everything looked fine at first, but now I found the following errors in the ULS-Log:
Load Workflow Assembly: System.IO.FileNotFoundException: Could not load file or assembly 'myWorkflow, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b9b1d87f2ba348a3' or one of its dependencies. The system cannot find the file specified. File name: 'myWorkflow, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b9b1d87f2ba348a3'
I understand what this means but not how to solve it.
First of all: Changing the AssemblyVersion back to the old version and reinstalling the workflow is not an option as there are already new Workflows created.
So I think I got two Possibilities:
- Use Assembly Binding Rediretion. Can this be easily done? Can I maybe even create a feature for that without reinstalling the Workflow?
- "Tell" the old workflows to use the new version. Can this be done with PowerShell?