Code Fix: K2 Designer for Visual Studio is unable to compile a project that contains a K2.net 2003 Artifact(s)
Introduction
Error Scenario
![]() | Note: The steps below describe one scenario under which this error may occur. They are simplified and not all steps are shown or described. |
- Open K2 Designer for Visual Studio
- Create a new K2 project that has one process
- Drag and add a new K2.net 2003 Activity onto the design canvas
- Connect a line from the Start activity to the new K2.net 2003 Activity
- Select the K2.net 2003 Default Server event and add it to the activity
- Build the process, the error described above will be returned
If the user then views the code for this K2.net 2003 Server Event as shown above, the following will be seen:
{
K2.Synchronous = true;
}
The issue is caused by the code view that does not display any class references or namespaces.
Error Messages
Error Resolution
This Hotfix is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.
The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here: https://portal.k2.com/downloads/bp/default.aspx