Symptoms
When deploying a K2 package the following error is displayed on all Views and Form during the deploying phase:
"Method not found: 'Void SourceCode.Forms.Design.DefinitionUtility.Merge(SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection, SourceCode.Forms.Authoring.Form, SourceCode.Forms.Authoring.Form, System.Collections.Generic.IDictionary`2<System.Guid,System.Guid>)'. System.MissingMethodException: Method not found: 'Void SourceCode.Forms.Design.DefinitionUtility.Merge(SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection, SourceCode.Forms.Authoring.Form, SourceCode.Forms.Authoring.Form, System.Collections.Generic.IDictionary`2<System.Guid,System.Guid>)'.
at SourceCode.Runtime.Services.Forms.Services.BaseFormViewService`3.MergeAuthoringInstances(AuthoringType source, AuthoringType target, ComplexType ct)
at SourceCode.Runtime.Services.Forms.Services.BaseFormViewService`3.Deploy(IDeploymentContext context)"
Diagnoses
This error occurs when K2 smartforms rollup for K2 4.6.11 has non been applied correctly - either K2 service has not been stopped or path on step 5 of installation has been entered using TAB/autocompletion as opposed to entering it manually as specified in installation instructions. This type of error can occur if one of the rollup assemblies did not apply correctly to the K2 folder or the Global Assembly Cache.
Resolution
In case you have recently installed K2 smartforms rollup for K2 4.6.11 reinstall it making sure installation completes with no errors. Pay attention to considerations mentioned above: K2 host server service has to be stopped and path on step 5 of installation should be entered manually.