Main.xaml: Internal constraint exception while running constraint with name ‘Constraint’ against activity of type System.Activities.Statements.Sequence with name ‘Sequence’. Exception was: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary 2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary2 inputs) at System.Activities.Validation.ActivityValidationServices.RunConstraints(ChildActivity childActivity, ActivityCallStack parentChain, IList 1 constraints, ProcessActivityTreeOptions options, Boolean suppressGetChildrenViolations, IList`1& validationErrors)
At this time, I don’t believe there exists a workaround or way to roll back. Recode your app to not use powershell or it will be broken until a new version with this fixed is released.
@loginerror
=>Windows
=>New project (Was working fine before upgrade)
=> I have cut copy paste each activity one by one to a separate project (and in my case “Send hotkey activity” was causing issue so I removed it and then again used it ) and then it was working fine