Symptoms
Unable to deploy workflow on both Visual Studio 2010 and K2 Studio with the following error:-
System. IO. PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name
must be less than 248 characters. at SourceCode. K2Studio. K2Environment. DeployAll(IntPtr intPtr, Stringand ErrNum, Stringand ErrMsg) at SourceCode. K2Studio. K2Environment.SourceCode. K2Studio. IK2Environment. DeployProject() at SourceCode. K2Studio. K2ApplicationManager. Deploy()
Diagnoses
This seems to be a windows limitation on the file path length.
Resolution
This was resolved by moving the workflow project to a shorter file path.