I GOT AN ERROR "CS...." (C# COMPILER) IN RUNTIME

I GOT AN ERROR "CS...." (C# COMPILER) IN RUNTIME


This means that the code in your Code Actions is not valid. You can check whether CodeActions compiled using the Compile button in Edit Code window in the designer.  

To register your own types from the assembly, you need to call following method from the WorkflowRuntime object.

 _runtime.RegisterAssemblyForCodeActions(Assembly.GetAssembly(typeof(some type from your assembly)));