CKS Dev – Copy to SharePoint Root errors


Hello everyone

Today I’ll talk about a problem that may occur using CKS Dev.This problem occurs when you use the “Copy to SharePoint Root” option.

If you have tags on your solution (i.e. :  CodeBesideAssembly=”$assemblyname$”  when you work on a workflow) and use this function, the tags are not replaced as during a deployment!

In my case, it happened during the development of a Workfow for SharePoint 2010

This can lead (in this case) to workflows that have a status of “Failed on start” and logs like:

Load Workflow Assembly: System.IO.FileNotFoundException:
Could not load file or assembly ‘$assemblyname$’ or one of its dependencies. The system cannot find the file specified. File name: ‘$assemblyname$’

After some research on my error I came across this post by Koen van der Linden, who had already got this error:

Hope this helps !