If you are unable to edit workflows in SharePoint 2013 after upgrading from 2010 and getting following error then perform the steps mentioned below to resolve this issue.
- Make sure you have uninstalled SharePoint Designer 2010
- Close SharePoint Designer 2013
- On the local computer, browse to the following folder:
- C:\Users\<Replace Your User Name>\AppData\Local\Microsoft\
WebsiteCache
- Example: C:\Users\mark.lee.contoso\
AppData\Local\Microsoft\ WebsiteCache
- C:\Users\<Replace Your User Name>\AppData\Local\Microsoft\
- Delete everything in WebsiteCache folder.
- On the local computer, browse to the following folder:
- C:\Users\<Replace Your User Name>\AppData\Roaming\
Microsoft\SharePoint Designer\ProxyAssemblyCache - Example: C:\Users\mark.lee.contoso\
AppData\Roaming\Microsoft\ SharePoint Designer\ProxyAssemblyCache
- C:\Users\<Replace Your User Name>\AppData\Roaming\
- Delete everything in ProxyAssemblyCache folder.
- Done.
- Open SharePoint Designer 2013 and make the changes to your site as needed.
This happens due to cached .NET assemblies in above mentioned folders. These cached files confuses SPD2013 to use older .NET code which is not compatible with SP2013.