Symptoms
We are trying to deploy a package containing SmartForms on K2 QA environment. Attached file shows the error we see while deploying the package.
System.TypeLoadException: Could not load type 'SourceCode.TupleDictionaryEqualityComparer' from assembly 'SourceCode.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'.
at SourceCode.Management.Controls.AnalyseCommandHandler.OnQueryCommand(Object sender, CommandEventArgs e)
at SourceCode.Management.Controls.ModelTreeControl.OnCommandQueryState()
Diagnoses
After our online meeting we discovered that PandD 1.0 was installed. With K2 Blackpearl 4.6.8 PandD comes as part of the installation.
Resolution
We uninstalled PandD 1.0 and run the setup from the 4.6.8 Installation Package and selected Modify to include the PandD component (It was already selected). After finishing the setup, we opened PandD and the deploy a package and the error went away.