Hello!
After adding handler to the button of form got this error. After deleting of handler the error didn't disappear.
Build of model runs without errors. Project build - with errors.
Deleting of class did not help.
Code:
[FormControlEventHandler(formControlStr(HcmWorker, ActionPane_BankAccounts), FormControlEventType::Clicked)]
public static void ActionPane_BankAccounts_OnClicked(FormControl sender, FormControlEventArgs e)
{
HcmWorker hcmWorker = sender.formRun().dataSource("HcmWorker").cursor();
info(hcmWorker.RecId);
}