Symptoms
Want to build custom Smartform controls on a non K2 server, such as a local PC or laptop.
Diagnoses
The local PC or laptop does not have the correct .dll files installed to create custom controls.
Resolution
Copy SourceCode.Forms.Client.dll and HostClientAPI.dll from C:Program Files (x86)K2 blackpearlBin
and
SourceCode.Forms.Controls.Web.SDK.dll and SourceCode.Forms.Controls.Web.Shared.dll from C:Program Files (x86)K2 blackpearlK2 SmartForms Runtimein
To your local machine and add references locally.
Creating custom controls:
https://help.k2.com/onlinehelp/k2smartforms/devref/current/default.htm_Creating_A_Basic_Custom_Control_Project.html?TocPath=Custom%20Controls|Getting%20started%20with%20Custom%20Controls|_____1
Deploying custom controls:
https://help.k2.com/onlinehelp/k2smartforms/devref/current/default.htm_Using_controlutil.exe.html?TocPath=Custom%20Controls|Getting%20started%20with%20Custom%20Controls|_____3