How can I reference workflow activities from a different SharePoint project within the same solution?
What I've tried:
I created a new SharePoint 2013 project and called it "ReferencingTest". Then I added a workflow to it.
Then, I created a different SharePoint 2013 project within the same solution and called it "FrameworkTest". I added a new Workflow Activity to it called "FrameworkActivity".
Now I want to use the "FrameworkActivity" within the "ReferencingTest" project. As you can see below, it's added to the references. It's visible in the toolbox. But when trying to drop the activity to the workflow, the mouse icon changes to show that this is not permitted.
As you can see below, "ReferencingTest" has a reference to the "FrameworkTest" project. I've tried adding the FrameworkActivity to the referencingTest project, and even tried adding the reference in the XAML for the ReferencingTest workflow. Any other ideas?
Try adding FrameworkActivity assemly to GAC.
Take the assembly from bin\Debug\PartitionedWorkflowBuild\FrameworkActivity.dll
Not from bin\Debug Folder.