I have the workflow SDK installed and am opening the template provided. I followed the instructions in the Building Custom Activities in Workflow 83 (C#) file to the letter but that really doesn't matter since when I try to compile, I get an error on one of the very first lines:
using Laserfiche.Custom.Activities;
showing this error:
Error CS0234 The type or namespace name 'Custom' does not exist in the namespace 'Laserfiche' (are you missing an assembly reference?)
I confirmed there is a reference to:
C:\Program Files (x86)\Common Files\Laserfiche\Workflow\Laserfiche.Workflow.Activities.Custom.dll
which when you View in Object Browser shows:
namespace Laserfiche.Custom.Activities Member of Laserfiche.Workflow.Activities.Custom
I also tried this just for fun and it did not work:
using Laserfiche.Workflow.Activities.Custom;
giving this error:
Error CS0234 The type or namespace name 'Workflow' does not exist in the namespace 'Laserfiche' (are you missing an assembly reference?)
My thoughts are that since I am running Workflow 10.4 and Visual Studio 2019 that the code provided might be outdated, but if that was the case I would hope that Laserfiche would have some sort of update to the template (and sample code).
If someone could point me in the right direction, or preferably provide a simple working template or sample Workflow Activity written in C# I would be very grateful.