1

I'm trying to create a Workflow in a Sharepoint 2013 app, but whenever I try to "add" - "new item" - "workflow" I get the following error:

The reference 'Microsoft.Activities' could not be added to the project. This wizard will continue to run, but the resulting project may not build properly.

Workflow designer opens, but when I try to add something to it, for example a SingleTask I get an error:

Cannot create an instance of "SingleTaskFactory". "Could not load file or assembly 'Microsoft.Activities, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

My dev system: Windows 7, Visual Studio 2013 Pro (Update 3), Office developer Tools for Visual Studio 2013 ENU (12.0.30626).

Server is a SharePoint 2013 Standard.

Any ideas anyone?

0

I found this Assembly is sometime missing after installation of Visual Studio 2013 or Workflow Manager. Just copy it from a working System. It should be in the GAC (C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Activities) Of xourse you must already have Workflowmanager and Client installed on System e.g. via Web Plattform Installer. I suggest verify via SharePoint Designer that you can create SharePoint 2013 Workflows.

  • Found the dll on a system with SharePoint installed, thanks for pointing me in the right direction. – Erwin Oct 13 '14 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.