When I recently studied WF, I encountered an unknown error, such as the error message.
Error 102 extend "Microsoft. activities. build. validation. validationbuildextension "triggers" system. XAML. xamlobjectwriterexception "type exception:" For type "founder. framework. workflow. WF. data. when taskactivity constructor executes a call that meets the specified binding constraints, an exception is thrown. ". Founder. Framework. workflow. Test
Du Niang Google seems to have no solution, and eventually found that this error was caused by the taskactivity class change.
Because the class I defined is public sealed class taskactivity: nativeactivity inherits nativeactivity, all fields or attributes in taskactivity must correspond to the attributes in the WF flowchart, if the attributes that do not exist in the flowchart are added here, this error is reported.
Therefore, do not add attributes in taskactivity. Otherwise, the preceding error is reported. The error message is shown in: