CKS Dev – Copy to SharePoint Root errors

SP2007-2010

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:

http://kvdlinden.blogspot.com/2011/06/sharepoint-2010-workflow-could-not-load.html

Hope this helps !

Christopher.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s